diff options
Diffstat (limited to 'src/lib/libcrypto/asn1/a_pubkey.c')
| -rw-r--r-- | src/lib/libcrypto/asn1/a_pubkey.c | 4 |
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 5f5df103b8..09a739fde8 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.4 2022/11/26 16:08:50 tb Exp $ */ | 1 | /* $OpenBSD: a_pubkey.c,v 1.5 2023/07/05 21:23:36 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 | } |
| 139 | LCRYPTO_ALIAS(d2i_PublicKey); | ||
| 139 | 140 | ||
| 140 | int | 141 | int |
| 141 | i2d_PublicKey(EVP_PKEY *a, unsigned char **pp) | 142 | i2d_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 | } |
| 162 | LCRYPTO_ALIAS(i2d_PublicKey); | ||
