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 14185c7605..f7ce8debb0 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.19 2022/11/19 07:00:57 tb Exp $ */ | 1 | /* $OpenBSD: eck_prn.c,v 1.20 2022/11/19 07:29:29 tb Exp $ */ |
2 | /* | 2 | /* |
3 | * Written by Nils Larsch for the OpenSSL project. | 3 | * Written by Nils Larsch for the OpenSSL project. |
4 | */ | 4 | */ |
@@ -70,7 +70,7 @@ | |||
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; |
76 | int ret; | 76 | int ret; |
@@ -86,7 +86,7 @@ ECPKParameters_print_fp(FILE * fp, const EC_GROUP * x, int off) | |||
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; |
92 | int ret; | 92 | int ret; |
@@ -102,7 +102,7 @@ EC_KEY_print_fp(FILE * fp, const EC_KEY * x, int off) | |||
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; |
108 | int ret; | 108 | int ret; |
@@ -118,7 +118,7 @@ ECParameters_print_fp(FILE * fp, const EC_KEY * x) | |||
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; |
124 | int ret = 0; | 124 | int ret = 0; |
@@ -136,7 +136,7 @@ EC_KEY_print(BIO * bp, const EC_KEY * x, int off) | |||
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; |
142 | int ret = 0; | 142 | int ret = 0; |
@@ -154,11 +154,11 @@ ECParameters_print(BIO * bp, const EC_KEY * x) | |||
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; |
164 | size_t buf_len = 0, i; | 164 | size_t buf_len = 0, i; |
@@ -334,7 +334,7 @@ ECPKParameters_print(BIO * bp, const EC_GROUP * x, int off) | |||
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 | { |
340 | size_t i; | 340 | size_t i; |