diff options
author | Theo Buehler <tb@cvs.openbsd.org> | 2022-10-21 13:39:36 +0000 |
---|---|---|
committer | Theo Buehler <tb@cvs.openbsd.org> | 2022-10-21 13:39:36 +0000 |
commit | b8b13678bbef89e3e3e318ffeca2db493c56668d (patch) | |
tree | b6ff37604bad704d9c61fa8452d5610282c7c008 | |
parent | 9a53ffecb2c8c28569c1ec908564487cd2e04478 (diff) |
Add EVP_chacha20_poly1305()
Omission reported by jca.
ok jca jsing
-rw-r--r-- | lib/libcrypto/evp/c_all.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/libcrypto/evp/c_all.c b/lib/libcrypto/evp/c_all.c index 690215c8e85..8fc1aa6a175 100644 --- a/lib/libcrypto/evp/c_all.c +++ b/lib/libcrypto/evp/c_all.c @@ -1,4 +1,4 @@ -/* $OpenBSD: c_all.c,v 1.27 2022/01/14 08:38:05 tb Exp $ */ +/* $OpenBSD: c_all.c,v 1.28 2022/10/21 13:39:35 tb Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -224,6 +224,9 @@ OpenSSL_add_all_ciphers_internal(void) #ifndef OPENSSL_NO_CHACHA EVP_add_cipher(EVP_chacha20()); #endif +#if !defined(OPENSSL_NO_CHACHA) && !defined(OPENSSL_NO_POLY1305) + EVP_add_cipher(EVP_chacha20_poly1305()); +#endif #ifndef OPENSSL_NO_GOST EVP_add_cipher(EVP_gost2814789_ecb()); |