summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/asn1/a_pubkey.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/asn1/a_pubkey.c')
-rw-r--r--src/lib/libcrypto/asn1/a_pubkey.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/libcrypto/asn1/a_pubkey.c b/src/lib/libcrypto/asn1/a_pubkey.c
index 5e022d34ec..544f3d2cf0 100644
--- a/src/lib/libcrypto/asn1/a_pubkey.c
+++ b/src/lib/libcrypto/asn1/a_pubkey.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: a_pubkey.c,v 1.6 2023/07/07 19:37:52 beck Exp $ */ 1/* $OpenBSD: a_pubkey.c,v 1.7 2024/04/09 13:52:41 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 *
@@ -136,6 +136,7 @@ d2i_PublicKey(int type, EVP_PKEY **a, const unsigned char **pp, long length)
136 EVP_PKEY_free(ret); 136 EVP_PKEY_free(ret);
137 return (NULL); 137 return (NULL);
138} 138}
139LCRYPTO_ALIAS(d2i_PublicKey);
139 140
140int 141int
141i2d_PublicKey(EVP_PKEY *a, unsigned char **pp) 142i2d_PublicKey(EVP_PKEY *a, unsigned char **pp)
@@ -158,3 +159,4 @@ i2d_PublicKey(EVP_PKEY *a, unsigned char **pp)
158 return (-1); 159 return (-1);
159 } 160 }
160} 161}
162LCRYPTO_ALIAS(i2d_PublicKey);