diff options
Diffstat (limited to 'src/lib/libcrypto/ec/eck_prn.c')
| -rw-r--r-- | src/lib/libcrypto/ec/eck_prn.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/lib/libcrypto/ec/eck_prn.c b/src/lib/libcrypto/ec/eck_prn.c index f65b74518b..6e89bfa739 100644 --- a/src/lib/libcrypto/ec/eck_prn.c +++ b/src/lib/libcrypto/ec/eck_prn.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: eck_prn.c,v 1.27 2023/07/06 15:18:02 tb Exp $ */ | 1 | /* $OpenBSD: eck_prn.c,v 1.28 2023/07/07 13:54:45 beck Exp $ */ |
| 2 | /* | 2 | /* |
| 3 | * Written by Nils Larsch for the OpenSSL project. | 3 | * Written by Nils Larsch for the OpenSSL project. |
| 4 | */ | 4 | */ |
| @@ -86,6 +86,7 @@ ECPKParameters_print_fp(FILE *fp, const EC_GROUP *x, int off) | |||
| 86 | BIO_free(b); | 86 | BIO_free(b); |
| 87 | return (ret); | 87 | return (ret); |
| 88 | } | 88 | } |
| 89 | LCRYPTO_ALIAS(ECPKParameters_print_fp); | ||
| 89 | 90 | ||
| 90 | int | 91 | int |
| 91 | EC_KEY_print_fp(FILE *fp, const EC_KEY *x, int off) | 92 | EC_KEY_print_fp(FILE *fp, const EC_KEY *x, int off) |
| @@ -102,6 +103,7 @@ EC_KEY_print_fp(FILE *fp, const EC_KEY *x, int off) | |||
| 102 | BIO_free(b); | 103 | BIO_free(b); |
| 103 | return (ret); | 104 | return (ret); |
| 104 | } | 105 | } |
| 106 | LCRYPTO_ALIAS(EC_KEY_print_fp); | ||
| 105 | 107 | ||
| 106 | int | 108 | int |
| 107 | ECParameters_print_fp(FILE *fp, const EC_KEY *x) | 109 | ECParameters_print_fp(FILE *fp, const EC_KEY *x) |
| @@ -118,6 +120,7 @@ ECParameters_print_fp(FILE *fp, const EC_KEY *x) | |||
| 118 | BIO_free(b); | 120 | BIO_free(b); |
| 119 | return (ret); | 121 | return (ret); |
| 120 | } | 122 | } |
| 123 | LCRYPTO_ALIAS(ECParameters_print_fp); | ||
| 121 | 124 | ||
| 122 | int | 125 | int |
| 123 | EC_KEY_print(BIO *bp, const EC_KEY *x, int off) | 126 | EC_KEY_print(BIO *bp, const EC_KEY *x, int off) |
| @@ -136,6 +139,7 @@ EC_KEY_print(BIO *bp, const EC_KEY *x, int off) | |||
| 136 | EVP_PKEY_free(pk); | 139 | EVP_PKEY_free(pk); |
| 137 | return ret; | 140 | return ret; |
| 138 | } | 141 | } |
| 142 | LCRYPTO_ALIAS(EC_KEY_print); | ||
| 139 | 143 | ||
| 140 | int | 144 | int |
| 141 | ECParameters_print(BIO *bp, const EC_KEY *x) | 145 | ECParameters_print(BIO *bp, const EC_KEY *x) |
| @@ -154,6 +158,7 @@ ECParameters_print(BIO *bp, const EC_KEY *x) | |||
| 154 | EVP_PKEY_free(pk); | 158 | EVP_PKEY_free(pk); |
| 155 | return ret; | 159 | return ret; |
| 156 | } | 160 | } |
| 161 | LCRYPTO_ALIAS(ECParameters_print); | ||
| 157 | 162 | ||
| 158 | static int | 163 | static int |
| 159 | print_bin(BIO *fp, const char *str, const unsigned char *num, | 164 | print_bin(BIO *fp, const char *str, const unsigned char *num, |
| @@ -310,6 +315,7 @@ ECPKParameters_print(BIO *bp, const EC_GROUP *group, int off) | |||
| 310 | 315 | ||
| 311 | return ecpk_print_explicit_parameters(bp, group, off); | 316 | return ecpk_print_explicit_parameters(bp, group, off); |
| 312 | } | 317 | } |
| 318 | LCRYPTO_ALIAS(ECPKParameters_print); | ||
| 313 | 319 | ||
| 314 | static int | 320 | static int |
| 315 | print_bin(BIO *fp, const char *name, const unsigned char *buf, | 321 | print_bin(BIO *fp, const char *name, const unsigned char *buf, |
