summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/pkcs12/p12_decr.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/pkcs12/p12_decr.c')
-rw-r--r--src/lib/libcrypto/pkcs12/p12_decr.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/lib/libcrypto/pkcs12/p12_decr.c b/src/lib/libcrypto/pkcs12/p12_decr.c
index c352ba565c..2ce5c23526 100644
--- a/src/lib/libcrypto/pkcs12/p12_decr.c
+++ b/src/lib/libcrypto/pkcs12/p12_decr.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: p12_decr.c,v 1.21 2021/12/12 21:30:14 tb Exp $ */ 1/* $OpenBSD: p12_decr.c,v 1.22 2022/11/12 13:03:28 beck Exp $ */
2/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL 2/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL
3 * project 1999. 3 * project 1999.
4 */ 4 */
@@ -116,6 +116,7 @@ err:
116 return out; 116 return out;
117 117
118} 118}
119LCRYPTO_ALIAS(PKCS12_pbe_crypt)
119 120
120/* Decrypt an OCTET STRING and decode ASN1 structure 121/* Decrypt an OCTET STRING and decode ASN1 structure
121 * if zbuf set zero buffer after use. 122 * if zbuf set zero buffer after use.
@@ -144,6 +145,7 @@ PKCS12_item_decrypt_d2i(const X509_ALGOR *algor, const ASN1_ITEM *it,
144 free(out); 145 free(out);
145 return ret; 146 return ret;
146} 147}
148LCRYPTO_ALIAS(PKCS12_item_decrypt_d2i)
147 149
148/* Encode ASN1 structure and encrypt, return OCTET STRING 150/* Encode ASN1 structure and encrypt, return OCTET STRING
149 * if zbuf set zero encoding. 151 * if zbuf set zero encoding.
@@ -182,5 +184,6 @@ err:
182 ASN1_OCTET_STRING_free(oct); 184 ASN1_OCTET_STRING_free(oct);
183 return NULL; 185 return NULL;
184} 186}
187LCRYPTO_ALIAS(PKCS12_item_i2d_encrypt)
185 188
186IMPLEMENT_PKCS12_STACK_OF(PKCS7) 189IMPLEMENT_PKCS12_STACK_OF(PKCS7)