summaryrefslogtreecommitdiff
path: root/src/regress/lib/libcrypto/aead/aeadtest.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/regress/lib/libcrypto/aead/aeadtest.c')
-rw-r--r--src/regress/lib/libcrypto/aead/aeadtest.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/regress/lib/libcrypto/aead/aeadtest.c b/src/regress/lib/libcrypto/aead/aeadtest.c
index 567b49a095..2c798a2918 100644
--- a/src/regress/lib/libcrypto/aead/aeadtest.c
+++ b/src/regress/lib/libcrypto/aead/aeadtest.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: aeadtest.c,v 1.22 2022/07/30 17:09:45 jsing Exp $ */ 1/* $OpenBSD: aeadtest.c,v 1.23 2022/08/20 19:25:14 jsing Exp $ */
2/* 2/*
3 * Copyright (c) 2022 Joel Sing <jsing@openbsd.org> 3 * Copyright (c) 2022 Joel Sing <jsing@openbsd.org>
4 * Copyright (c) 2014, Google Inc. 4 * Copyright (c) 2014, Google Inc.
@@ -101,6 +101,7 @@ aead_from_name(const EVP_AEAD **aead, const EVP_CIPHER **cipher,
101 *cipher = EVP_aes_256_gcm(); 101 *cipher = EVP_aes_256_gcm();
102 } else if (strcmp(name, "chacha20-poly1305") == 0) { 102 } else if (strcmp(name, "chacha20-poly1305") == 0) {
103 *aead = EVP_aead_chacha20_poly1305(); 103 *aead = EVP_aead_chacha20_poly1305();
104 *cipher = EVP_chacha20_poly1305();
104 } else if (strcmp(name, "xchacha20-poly1305") == 0) { 105 } else if (strcmp(name, "xchacha20-poly1305") == 0) {
105 *aead = EVP_aead_xchacha20_poly1305(); 106 *aead = EVP_aead_xchacha20_poly1305();
106 } else { 107 } else {