diff options
author | beck <> | 2024-04-09 13:52:42 +0000 |
---|---|---|
committer | beck <> | 2024-04-09 13:52:42 +0000 |
commit | b8c1a99fdb41738feb7a1352029c5f5aa42fed86 (patch) | |
tree | b9ee99887d6be79187ba476e0f6ac92f0820775f /src/lib/libcrypto/asn1/a_pkey.c | |
parent | 94d86681cdef7dae37d5ce494a200523ce63b70c (diff) | |
download | openbsd-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_pkey.c')
-rw-r--r-- | src/lib/libcrypto/asn1/a_pkey.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/lib/libcrypto/asn1/a_pkey.c b/src/lib/libcrypto/asn1/a_pkey.c index 1e8ebc913f..a730728076 100644 --- a/src/lib/libcrypto/asn1/a_pkey.c +++ b/src/lib/libcrypto/asn1/a_pkey.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: a_pkey.c,v 1.7 2023/11/19 15:46:09 tb Exp $ */ | 1 | /* $OpenBSD: a_pkey.c,v 1.8 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 | * |
@@ -115,6 +115,7 @@ d2i_PrivateKey(int type, EVP_PKEY **a, const unsigned char **pp, long length) | |||
115 | EVP_PKEY_free(ret); | 115 | EVP_PKEY_free(ret); |
116 | return (NULL); | 116 | return (NULL); |
117 | } | 117 | } |
118 | LCRYPTO_ALIAS(d2i_PrivateKey); | ||
118 | 119 | ||
119 | int | 120 | int |
120 | i2d_PrivateKey(EVP_PKEY *a, unsigned char **pp) | 121 | i2d_PrivateKey(EVP_PKEY *a, unsigned char **pp) |
@@ -131,6 +132,7 @@ i2d_PrivateKey(EVP_PKEY *a, unsigned char **pp) | |||
131 | ASN1error(ASN1_R_UNSUPPORTED_PUBLIC_KEY_TYPE); | 132 | ASN1error(ASN1_R_UNSUPPORTED_PUBLIC_KEY_TYPE); |
132 | return (-1); | 133 | return (-1); |
133 | } | 134 | } |
135 | LCRYPTO_ALIAS(i2d_PrivateKey); | ||
134 | 136 | ||
135 | /* This works like d2i_PrivateKey() except it automatically works out the type */ | 137 | /* This works like d2i_PrivateKey() except it automatically works out the type */ |
136 | 138 | ||
@@ -176,3 +178,4 @@ d2i_AutoPrivateKey(EVP_PKEY **a, const unsigned char **pp, long length) | |||
176 | sk_ASN1_TYPE_pop_free(inkey, ASN1_TYPE_free); | 178 | sk_ASN1_TYPE_pop_free(inkey, ASN1_TYPE_free); |
177 | return d2i_PrivateKey(keytype, a, pp, length); | 179 | return d2i_PrivateKey(keytype, a, pp, length); |
178 | } | 180 | } |
181 | LCRYPTO_ALIAS(d2i_AutoPrivateKey); | ||