From 7773df6d04133c4f0a8f6913b98ca4bf9f439090 Mon Sep 17 00:00:00 2001 From: Justus Winter Date: Tue, 20 Feb 2024 13:04:10 +0100 Subject: openpgp: Fix building the tests with the fuzzing backend. --- openpgp/src/crypto/backend/fuzzing/ecdh.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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(recipient: &Key, #[allow(dead_code)] pub fn decrypt(recipient: &Key, recipient_sec: &SecretKeyMaterial, - ciphertext: &Ciphertext) + ciphertext: &Ciphertext, + plaintext_len: Option) -> Result where R: key::KeyRole { -- cgit v1.2.3