summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/evp/p_open.c
diff options
context:
space:
mode:
authorbeck <>2023-07-07 13:54:46 +0000
committerbeck <>2023-07-07 13:54:46 +0000
commit6bba0b0cef45b790c7a98a818e6018c91de8af0b (patch)
tree8637b2fb4bca234d55b598e035f23335be46ce49 /src/lib/libcrypto/evp/p_open.c
parentfcdb286fc308a6ce5c66d8a4653f2e2e6c4903ed (diff)
downloadopenbsd-6bba0b0cef45b790c7a98a818e6018c91de8af0b.tar.gz
openbsd-6bba0b0cef45b790c7a98a818e6018c91de8af0b.tar.bz2
openbsd-6bba0b0cef45b790c7a98a818e6018c91de8af0b.zip
Hide symbols in hkdf, evp, err, ecdsa, and ec
(part 2 of commit) ok jsing@
Diffstat (limited to 'src/lib/libcrypto/evp/p_open.c')
-rw-r--r--src/lib/libcrypto/evp/p_open.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/libcrypto/evp/p_open.c b/src/lib/libcrypto/evp/p_open.c
index bce900b9ab..5ab36b8ef5 100644
--- a/src/lib/libcrypto/evp/p_open.c
+++ b/src/lib/libcrypto/evp/p_open.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: p_open.c,v 1.21 2022/11/26 16:08:53 tb Exp $ */ 1/* $OpenBSD: p_open.c,v 1.22 2023/07/07 13:54:46 beck Exp $ */
2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
3 * All rights reserved. 3 * All rights reserved.
4 * 4 *
@@ -114,6 +114,7 @@ err:
114 freezero(key, size); 114 freezero(key, size);
115 return (ret); 115 return (ret);
116} 116}
117LCRYPTO_ALIAS(EVP_OpenInit);
117 118
118int 119int
119EVP_OpenFinal(EVP_CIPHER_CTX *ctx, unsigned char *out, int *outl) 120EVP_OpenFinal(EVP_CIPHER_CTX *ctx, unsigned char *out, int *outl)
@@ -125,4 +126,5 @@ EVP_OpenFinal(EVP_CIPHER_CTX *ctx, unsigned char *out, int *outl)
125 i = EVP_DecryptInit_ex(ctx, NULL, NULL, NULL, NULL); 126 i = EVP_DecryptInit_ex(ctx, NULL, NULL, NULL, NULL);
126 return (i); 127 return (i);
127} 128}
129LCRYPTO_ALIAS(EVP_OpenFinal);
128#endif 130#endif