diff options
author | beck <> | 2023-07-07 19:37:54 +0000 |
---|---|---|
committer | beck <> | 2023-07-07 19:37:54 +0000 |
commit | 8d42940c1d19bb9bd4ce45580f18a59069225432 (patch) | |
tree | b1fe16b4625998f0f024f4d3eef5d59a3e905a9a /src/lib/libcrypto/asn1/a_pkey.c | |
parent | 1c5e77a1d6f97589e2bca622f3313c1418f9a535 (diff) | |
download | openbsd-8d42940c1d19bb9bd4ce45580f18a59069225432.tar.gz openbsd-8d42940c1d19bb9bd4ce45580f18a59069225432.tar.bz2 openbsd-8d42940c1d19bb9bd4ce45580f18a59069225432.zip |
Unbreak the namespace build after a broken mk.conf and tool misfire had
me aliasing symbols not in the headers I was procesing.
This unbreaks the namespace build so it will pass again
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, 1 insertions, 4 deletions
diff --git a/src/lib/libcrypto/asn1/a_pkey.c b/src/lib/libcrypto/asn1/a_pkey.c index 595b226051..6e715d4f9e 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.5 2023/07/05 21:23:36 beck Exp $ */ | 1 | /* $OpenBSD: a_pkey.c,v 1.6 2023/07/07 19:37:52 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 | * |
@@ -123,7 +123,6 @@ d2i_PrivateKey(int type, EVP_PKEY **a, const unsigned char **pp, long length) | |||
123 | EVP_PKEY_free(ret); | 123 | EVP_PKEY_free(ret); |
124 | return (NULL); | 124 | return (NULL); |
125 | } | 125 | } |
126 | LCRYPTO_ALIAS(d2i_PrivateKey); | ||
127 | 126 | ||
128 | int | 127 | int |
129 | i2d_PrivateKey(EVP_PKEY *a, unsigned char **pp) | 128 | i2d_PrivateKey(EVP_PKEY *a, unsigned char **pp) |
@@ -140,7 +139,6 @@ i2d_PrivateKey(EVP_PKEY *a, unsigned char **pp) | |||
140 | ASN1error(ASN1_R_UNSUPPORTED_PUBLIC_KEY_TYPE); | 139 | ASN1error(ASN1_R_UNSUPPORTED_PUBLIC_KEY_TYPE); |
141 | return (-1); | 140 | return (-1); |
142 | } | 141 | } |
143 | LCRYPTO_ALIAS(i2d_PrivateKey); | ||
144 | 142 | ||
145 | /* This works like d2i_PrivateKey() except it automatically works out the type */ | 143 | /* This works like d2i_PrivateKey() except it automatically works out the type */ |
146 | 144 | ||
@@ -186,4 +184,3 @@ d2i_AutoPrivateKey(EVP_PKEY **a, const unsigned char **pp, long length) | |||
186 | sk_ASN1_TYPE_pop_free(inkey, ASN1_TYPE_free); | 184 | sk_ASN1_TYPE_pop_free(inkey, ASN1_TYPE_free); |
187 | return d2i_PrivateKey(keytype, a, pp, length); | 185 | return d2i_PrivateKey(keytype, a, pp, length); |
188 | } | 186 | } |
189 | LCRYPTO_ALIAS(d2i_AutoPrivateKey); | ||