summaryrefslogtreecommitdiffstats
path: root/openpgp/src/crypto/mem.rs
diff options
context:
space:
mode:
Diffstat (limited to 'openpgp/src/crypto/mem.rs')
-rw-r--r--openpgp/src/crypto/mem.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/openpgp/src/crypto/mem.rs b/openpgp/src/crypto/mem.rs
index af7c5cfa..9af1936c 100644
--- a/openpgp/src/crypto/mem.rs
+++ b/openpgp/src/crypto/mem.rs
@@ -269,7 +269,7 @@ mod has_access_to_prekey {
// algorithms MUST be supported by the cryptographic library.
const HASH_ALGO: HashAlgorithm = HashAlgorithm::SHA256;
const SYMMETRIC_ALGO: SymmetricAlgorithm = SymmetricAlgorithm::AES256;
- const AEAD_ALGO: AEADAlgorithm = AEADAlgorithm::EAX;
+ const AEAD_ALGO: AEADAlgorithm = AEADAlgorithm::const_default();
impl Encrypted {
/// Computes the sealing key used to encrypt the memory.