summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/evp/e_chacha20poly1305.c
diff options
context:
space:
mode:
authorbeck <>2023-07-07 19:37:54 +0000
committerbeck <>2023-07-07 19:37:54 +0000
commit8d42940c1d19bb9bd4ce45580f18a59069225432 (patch)
treeb1fe16b4625998f0f024f4d3eef5d59a3e905a9a /src/lib/libcrypto/evp/e_chacha20poly1305.c
parent1c5e77a1d6f97589e2bca622f3313c1418f9a535 (diff)
downloadopenbsd-8d42940c1d19bb9bd4ce45580f18a59069225432.tar.gz
openbsd-8d42940c1d19bb9bd4ce45580f18a59069225432.tar.bz2
openbsd-8d42940c1d19bb9bd4ce45580f18a59069225432.zip
Unbreak the namespace build after a broken mk.conf and tool misfire had
me aliasing symbols not in the headers I was procesing. This unbreaks the namespace build so it will pass again ok tb@
Diffstat (limited to 'src/lib/libcrypto/evp/e_chacha20poly1305.c')
-rw-r--r--src/lib/libcrypto/evp/e_chacha20poly1305.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/lib/libcrypto/evp/e_chacha20poly1305.c b/src/lib/libcrypto/evp/e_chacha20poly1305.c
index 4b8f47cefc..a17657899b 100644
--- a/src/lib/libcrypto/evp/e_chacha20poly1305.c
+++ b/src/lib/libcrypto/evp/e_chacha20poly1305.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: e_chacha20poly1305.c,v 1.29 2023/07/07 13:54:45 beck Exp $ */ 1/* $OpenBSD: e_chacha20poly1305.c,v 1.30 2023/07/07 19:37:53 beck Exp $ */
2 2
3/* 3/*
4 * Copyright (c) 2022 Joel Sing <jsing@openbsd.org> 4 * Copyright (c) 2022 Joel Sing <jsing@openbsd.org>
@@ -348,7 +348,6 @@ EVP_aead_chacha20_poly1305()
348{ 348{
349 return &aead_chacha20_poly1305; 349 return &aead_chacha20_poly1305;
350} 350}
351LCRYPTO_ALIAS(EVP_aead_chacha20_poly1305);
352 351
353static const EVP_AEAD aead_xchacha20_poly1305 = { 352static const EVP_AEAD aead_xchacha20_poly1305 = {
354 .key_len = 32, 353 .key_len = 32,
@@ -367,7 +366,6 @@ EVP_aead_xchacha20_poly1305()
367{ 366{
368 return &aead_xchacha20_poly1305; 367 return &aead_xchacha20_poly1305;
369} 368}
370LCRYPTO_ALIAS(EVP_aead_xchacha20_poly1305);
371 369
372struct chacha20_poly1305_ctx { 370struct chacha20_poly1305_ctx {
373 ChaCha_ctx chacha; 371 ChaCha_ctx chacha;
@@ -608,6 +606,5 @@ EVP_chacha20_poly1305(void)
608{ 606{
609 return &cipher_chacha20_poly1305; 607 return &cipher_chacha20_poly1305;
610} 608}
611LCRYPTO_ALIAS(EVP_chacha20_poly1305);
612 609
613#endif /* !OPENSSL_NO_CHACHA && !OPENSSL_NO_POLY1305 */ 610#endif /* !OPENSSL_NO_CHACHA && !OPENSSL_NO_POLY1305 */