summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/asn1/a_pubkey.c
diff options
context:
space:
mode:
authorbeck <>2024-04-09 13:52:42 +0000
committerbeck <>2024-04-09 13:52:42 +0000
commitb8c1a99fdb41738feb7a1352029c5f5aa42fed86 (patch)
treeb9ee99887d6be79187ba476e0f6ac92f0820775f /src/lib/libcrypto/asn1/a_pubkey.c
parent94d86681cdef7dae37d5ce494a200523ce63b70c (diff)
downloadopenbsd-b8c1a99fdb41738feb7a1352029c5f5aa42fed86.tar.gz
openbsd-b8c1a99fdb41738feb7a1352029c5f5aa42fed86.tar.bz2
openbsd-b8c1a99fdb41738feb7a1352029c5f5aa42fed86.zip
Hide public symbols in evp.h
largely mechanically done by the guentherizer 9000 ok tb@
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);