diff options
-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 { |