diff options
author | Justus Winter <justus@sequoia-pgp.org> | 2024-02-20 13:04:10 +0100 |
---|---|---|
committer | Justus Winter <justus@sequoia-pgp.org> | 2024-02-20 14:20:16 +0100 |
commit | 7773df6d04133c4f0a8f6913b98ca4bf9f439090 (patch) | |
tree | ab76cd19fd185dc5c67541a92679131eb4d87193 | |
parent | 151894e344a988ba4e496bdbb8fa5e7d9796ea62 (diff) |
openpgp: Fix building the tests with the fuzzing backend.
-rw-r--r-- | openpgp/src/crypto/backend/fuzzing/ecdh.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/openpgp/src/crypto/backend/fuzzing/ecdh.rs b/openpgp/src/crypto/backend/fuzzing/ecdh.rs index a01eccbb..e692c747 100644 --- a/openpgp/src/crypto/backend/fuzzing/ecdh.rs +++ b/openpgp/src/crypto/backend/fuzzing/ecdh.rs @@ -22,7 +22,8 @@ pub fn encrypt<R>(recipient: &Key<key::PublicParts, R>, #[allow(dead_code)] pub fn decrypt<R>(recipient: &Key<key::PublicParts, R>, recipient_sec: &SecretKeyMaterial, - ciphertext: &Ciphertext) + ciphertext: &Ciphertext, + plaintext_len: Option<usize>) -> Result<SessionKey> where R: key::KeyRole { |