diff options
author | Justus Winter <justus@sequoia-pgp.org> | 2021-09-09 14:09:32 +0200 |
---|---|---|
committer | Justus Winter <justus@sequoia-pgp.org> | 2021-09-28 13:46:44 +0200 |
commit | fda86c1b3054b029263859b553544e4fce077fac (patch) | |
tree | 7a891630e88c2feb575ebc83bac61ff6dd34640d | |
parent | 2465d28c7e1d6fe7a9cd01197f9db9b45f9b7386 (diff) |
openpgp: Improve tests.
-rw-r--r-- | openpgp/src/packet/signature.rs | 1 | ||||
-rw-r--r-- | openpgp/src/parse/stream.rs | 3 |
2 files changed, 3 insertions, 1 deletions
diff --git a/openpgp/src/packet/signature.rs b/openpgp/src/packet/signature.rs index ef5f4b8d..85cbc9a8 100644 --- a/openpgp/src/packet/signature.rs +++ b/openpgp/src/packet/signature.rs @@ -3314,6 +3314,7 @@ mod test { "erika-corinna-daniela-simone-antonia-nistp521-private.pgp", "emmelie-dorothea-dina-samantha-awina-ed25519-private.pgp", ] { + eprintln!("{}...", key); let cert = Cert::from_bytes(crate::tests::key(key)).unwrap(); if ! cert.primary_key().pk_algo().is_supported() { diff --git a/openpgp/src/parse/stream.rs b/openpgp/src/parse/stream.rs index 1827287a..f40c3f0d 100644 --- a/openpgp/src/parse/stream.rs +++ b/openpgp/src/parse/stream.rs @@ -3176,6 +3176,7 @@ mod test { "brainpoolP256r1", "brainpoolP384r1", "brainpoolP512r1", "secp256k1", ] { + eprintln!("Test vector {:?}...", alg); let key = Cert::from_bytes(crate::tests::message( &format!("encrypted/{}.sec.pgp", alg)))?; if let Some(k) = @@ -3191,7 +3192,7 @@ mod test { _ => (), } } else { - eprintln!("Skipping {} because we don't support algorithm", + eprintln!("Skipping {} because we don't support the algorithm", alg); continue; } |