Adding copyright header to generated test file (#351)

This commit is contained in:
Kevin Lewi
2023-12-20 10:05:35 -08:00
committed by GitHub
parent 56cdf9a024
commit 31c65f5d79
2 changed files with 560 additions and 543 deletions
+12 -3
View File
@@ -782,9 +782,18 @@ fn generate_test_vectors() -> Result<(), ProtocolError> {
#[rustfmt::skip]
output.push_str(
"// To regenerate these test vectors, run:\n\
// FULL_TEST_VECTORS_FILE=src/tests/full_test_vectors.rs cargo test --features ristretto255,curve25519 -- generate_test_vectors\n\
\n",
"\
// Copyright (c) Meta Platforms, Inc. and affiliates.\n\
//\n\
// This source code is dual-licensed under either the MIT license found in the\n\
// LICENSE-MIT file in the root directory of this source tree or the Apache\n\
// License, Version 2.0 found in the LICENSE-APACHE file in the root directory\n\
// of this source tree. You may select, at your option, one of the above-listed\n\
// licenses.\n\
//\n\
// To regenerate these test vectors, run:\n\
// FULL_TEST_VECTORS_FILE=src/tests/full_test_vectors.rs cargo test --features ristretto255,curve25519 -- generate_test_vectors\n\
\n",
);
#[cfg(feature = "ristretto255")]
File diff suppressed because it is too large Load Diff