Maintenance PR for clippy, license and authors (#601)

* Maintenance PR for clippy, license and authors

* remove author from libraries
This commit is contained in:
kaczmarczyck
2023-03-06 12:45:01 +01:00
committed by GitHub
parent 7769e783bb
commit 03031e6970
42 changed files with 304 additions and 281 deletions

View File

@@ -1,4 +1,4 @@
// Copyright 2019-2021 Google LLC
// Copyright 2019-2023 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -475,7 +475,7 @@ mod test {
#[test]
fn test_check_metadata() {
let mut env = TestEnv::new();
let mut env = TestEnv::default();
let private_key = crypto::ecdsa::SecKey::gensk(env.rng());
let upgrade_locations = env.upgrade_storage().unwrap();
@@ -536,7 +536,7 @@ mod test {
#[test]
fn test_verify_signature() {
let mut env = TestEnv::new();
let mut env = TestEnv::default();
let private_key = crypto::ecdsa::SecKey::gensk(env.rng());
let message = [0x44; 64];
let signed_hash = Sha256::hash(&message);