diff options
Diffstat (limited to 'src/lib/libcrypto/ec/eck_prn.c')
-rw-r--r-- | src/lib/libcrypto/ec/eck_prn.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/lib/libcrypto/ec/eck_prn.c b/src/lib/libcrypto/ec/eck_prn.c index 058ae57de5..14185c7605 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.18 2022/11/10 12:37:00 tobhe Exp $ */ | 1 | /* $OpenBSD: eck_prn.c,v 1.19 2022/11/19 07:00:57 tb Exp $ */ |
2 | /* | 2 | /* |
3 | * Written by Nils Larsch for the OpenSSL project. | 3 | * Written by Nils Larsch for the OpenSSL project. |
4 | */ | 4 | */ |
@@ -69,7 +69,7 @@ | |||
69 | #include <openssl/err.h> | 69 | #include <openssl/err.h> |
70 | #include <openssl/evp.h> | 70 | #include <openssl/evp.h> |
71 | 71 | ||
72 | int | 72 | int |
73 | ECPKParameters_print_fp(FILE * fp, const EC_GROUP * x, int off) | 73 | ECPKParameters_print_fp(FILE * fp, const EC_GROUP * x, int off) |
74 | { | 74 | { |
75 | BIO *b; | 75 | BIO *b; |
@@ -85,7 +85,7 @@ ECPKParameters_print_fp(FILE * fp, const EC_GROUP * x, int off) | |||
85 | return (ret); | 85 | return (ret); |
86 | } | 86 | } |
87 | 87 | ||
88 | int | 88 | int |
89 | EC_KEY_print_fp(FILE * fp, const EC_KEY * x, int off) | 89 | EC_KEY_print_fp(FILE * fp, const EC_KEY * x, int off) |
90 | { | 90 | { |
91 | BIO *b; | 91 | BIO *b; |
@@ -101,7 +101,7 @@ EC_KEY_print_fp(FILE * fp, const EC_KEY * x, int off) | |||
101 | return (ret); | 101 | return (ret); |
102 | } | 102 | } |
103 | 103 | ||
104 | int | 104 | int |
105 | ECParameters_print_fp(FILE * fp, const EC_KEY * x) | 105 | ECParameters_print_fp(FILE * fp, const EC_KEY * x) |
106 | { | 106 | { |
107 | BIO *b; | 107 | BIO *b; |
@@ -117,7 +117,7 @@ ECParameters_print_fp(FILE * fp, const EC_KEY * x) | |||
117 | return (ret); | 117 | return (ret); |
118 | } | 118 | } |
119 | 119 | ||
120 | int | 120 | int |
121 | EC_KEY_print(BIO * bp, const EC_KEY * x, int off) | 121 | EC_KEY_print(BIO * bp, const EC_KEY * x, int off) |
122 | { | 122 | { |
123 | EVP_PKEY *pk; | 123 | EVP_PKEY *pk; |
@@ -135,7 +135,7 @@ EC_KEY_print(BIO * bp, const EC_KEY * x, int off) | |||
135 | return ret; | 135 | return ret; |
136 | } | 136 | } |
137 | 137 | ||
138 | int | 138 | int |
139 | ECParameters_print(BIO * bp, const EC_KEY * x) | 139 | ECParameters_print(BIO * bp, const EC_KEY * x) |
140 | { | 140 | { |
141 | EVP_PKEY *pk; | 141 | EVP_PKEY *pk; |
@@ -153,11 +153,11 @@ ECParameters_print(BIO * bp, const EC_KEY * x) | |||
153 | return ret; | 153 | return ret; |
154 | } | 154 | } |
155 | 155 | ||
156 | static int | 156 | static int |
157 | print_bin(BIO * fp, const char *str, const unsigned char *num, | 157 | print_bin(BIO * fp, const char *str, const unsigned char *num, |
158 | size_t len, int off); | 158 | size_t len, int off); |
159 | 159 | ||
160 | int | 160 | int |
161 | ECPKParameters_print(BIO * bp, const EC_GROUP * x, int off) | 161 | ECPKParameters_print(BIO * bp, const EC_GROUP * x, int off) |
162 | { | 162 | { |
163 | unsigned char *buffer = NULL; | 163 | unsigned char *buffer = NULL; |
@@ -333,7 +333,7 @@ ECPKParameters_print(BIO * bp, const EC_GROUP * x, int off) | |||
333 | return (ret); | 333 | return (ret); |
334 | } | 334 | } |
335 | 335 | ||
336 | static int | 336 | static int |
337 | print_bin(BIO * fp, const char *name, const unsigned char *buf, | 337 | print_bin(BIO * fp, const char *name, const unsigned char *buf, |
338 | size_t len, int off) | 338 | size_t len, int off) |
339 | { | 339 | { |