diff options
Diffstat (limited to 'src/lib/libcrypto/bio')
-rw-r--r-- | src/lib/libcrypto/bio/bf_buff.c | 4 | ||||
-rw-r--r-- | src/lib/libcrypto/bio/bf_lbuf.c | 4 | ||||
-rw-r--r-- | src/lib/libcrypto/bio/bf_nbio.c | 4 | ||||
-rw-r--r-- | src/lib/libcrypto/bio/bf_null.c | 4 | ||||
-rw-r--r-- | src/lib/libcrypto/bio/bio_lib.c | 36 | ||||
-rw-r--r-- | src/lib/libcrypto/bio/bss_acpt.c | 12 | ||||
-rw-r--r-- | src/lib/libcrypto/bio/bss_bio.c | 4 | ||||
-rw-r--r-- | src/lib/libcrypto/bio/bss_conn.c | 12 | ||||
-rw-r--r-- | src/lib/libcrypto/bio/bss_dgram.c | 16 | ||||
-rw-r--r-- | src/lib/libcrypto/bio/bss_fd.c | 8 | ||||
-rw-r--r-- | src/lib/libcrypto/bio/bss_file.c | 12 | ||||
-rw-r--r-- | src/lib/libcrypto/bio/bss_log.c | 4 | ||||
-rw-r--r-- | src/lib/libcrypto/bio/bss_mem.c | 8 | ||||
-rw-r--r-- | src/lib/libcrypto/bio/bss_null.c | 4 | ||||
-rw-r--r-- | src/lib/libcrypto/bio/bss_sock.c | 8 |
15 files changed, 70 insertions, 70 deletions
diff --git a/src/lib/libcrypto/bio/bf_buff.c b/src/lib/libcrypto/bio/bf_buff.c index be2ebab148..7b76e895a4 100644 --- a/src/lib/libcrypto/bio/bf_buff.c +++ b/src/lib/libcrypto/bio/bf_buff.c | |||
@@ -84,8 +84,8 @@ static BIO_METHOD methods_buffer = { | |||
84 | buffer_callback_ctrl, | 84 | buffer_callback_ctrl, |
85 | }; | 85 | }; |
86 | 86 | ||
87 | BIO_METHOD | 87 | BIO_METHOD * |
88 | *BIO_f_buffer(void) | 88 | BIO_f_buffer(void) |
89 | { | 89 | { |
90 | return (&methods_buffer); | 90 | return (&methods_buffer); |
91 | } | 91 | } |
diff --git a/src/lib/libcrypto/bio/bf_lbuf.c b/src/lib/libcrypto/bio/bf_lbuf.c index 5020795ded..e233cbc92c 100644 --- a/src/lib/libcrypto/bio/bf_lbuf.c +++ b/src/lib/libcrypto/bio/bf_lbuf.c | |||
@@ -89,8 +89,8 @@ static BIO_METHOD methods_linebuffer = { | |||
89 | linebuffer_callback_ctrl, | 89 | linebuffer_callback_ctrl, |
90 | }; | 90 | }; |
91 | 91 | ||
92 | BIO_METHOD | 92 | BIO_METHOD * |
93 | *BIO_f_linebuffer(void) | 93 | BIO_f_linebuffer(void) |
94 | { | 94 | { |
95 | return (&methods_linebuffer); | 95 | return (&methods_linebuffer); |
96 | } | 96 | } |
diff --git a/src/lib/libcrypto/bio/bf_nbio.c b/src/lib/libcrypto/bio/bf_nbio.c index 200ca706ff..48c9781700 100644 --- a/src/lib/libcrypto/bio/bf_nbio.c +++ b/src/lib/libcrypto/bio/bf_nbio.c | |||
@@ -93,8 +93,8 @@ static BIO_METHOD methods_nbiof = { | |||
93 | nbiof_callback_ctrl, | 93 | nbiof_callback_ctrl, |
94 | }; | 94 | }; |
95 | 95 | ||
96 | BIO_METHOD | 96 | BIO_METHOD * |
97 | *BIO_f_nbio_test(void) | 97 | BIO_f_nbio_test(void) |
98 | { | 98 | { |
99 | return (&methods_nbiof); | 99 | return (&methods_nbiof); |
100 | } | 100 | } |
diff --git a/src/lib/libcrypto/bio/bf_null.c b/src/lib/libcrypto/bio/bf_null.c index ada677c91e..3bba2afe98 100644 --- a/src/lib/libcrypto/bio/bf_null.c +++ b/src/lib/libcrypto/bio/bf_null.c | |||
@@ -86,8 +86,8 @@ static BIO_METHOD methods_nullf = { | |||
86 | nullf_callback_ctrl, | 86 | nullf_callback_ctrl, |
87 | }; | 87 | }; |
88 | 88 | ||
89 | BIO_METHOD | 89 | BIO_METHOD * |
90 | *BIO_f_null(void) | 90 | BIO_f_null(void) |
91 | { | 91 | { |
92 | return (&methods_nullf); | 92 | return (&methods_nullf); |
93 | } | 93 | } |
diff --git a/src/lib/libcrypto/bio/bio_lib.c b/src/lib/libcrypto/bio/bio_lib.c index c226d943af..485374931b 100644 --- a/src/lib/libcrypto/bio/bio_lib.c +++ b/src/lib/libcrypto/bio/bio_lib.c | |||
@@ -63,8 +63,8 @@ | |||
63 | #include <openssl/bio.h> | 63 | #include <openssl/bio.h> |
64 | #include <openssl/stack.h> | 64 | #include <openssl/stack.h> |
65 | 65 | ||
66 | BIO | 66 | BIO * |
67 | *BIO_new(BIO_METHOD *method) | 67 | BIO_new(BIO_METHOD *method) |
68 | { | 68 | { |
69 | BIO *ret = NULL; | 69 | BIO *ret = NULL; |
70 | 70 | ||
@@ -352,8 +352,8 @@ BIO_int_ctrl(BIO *b, int cmd, long larg, int iarg) | |||
352 | return (BIO_ctrl(b, cmd, larg, (char *)&i)); | 352 | return (BIO_ctrl(b, cmd, larg, (char *)&i)); |
353 | } | 353 | } |
354 | 354 | ||
355 | char | 355 | char * |
356 | *BIO_ptr_ctrl(BIO *b, int cmd, long larg) | 356 | BIO_ptr_ctrl(BIO *b, int cmd, long larg) |
357 | { | 357 | { |
358 | char *p = NULL; | 358 | char *p = NULL; |
359 | 359 | ||
@@ -435,8 +435,8 @@ BIO_ctrl_wpending(BIO *bio) | |||
435 | 435 | ||
436 | 436 | ||
437 | /* put the 'bio' on the end of b's list of operators */ | 437 | /* put the 'bio' on the end of b's list of operators */ |
438 | BIO | 438 | BIO * |
439 | *BIO_push(BIO *b, BIO *bio) | 439 | BIO_push(BIO *b, BIO *bio) |
440 | { | 440 | { |
441 | BIO *lb; | 441 | BIO *lb; |
442 | 442 | ||
@@ -454,8 +454,8 @@ BIO | |||
454 | } | 454 | } |
455 | 455 | ||
456 | /* Remove the first and return the rest */ | 456 | /* Remove the first and return the rest */ |
457 | BIO | 457 | BIO * |
458 | *BIO_pop(BIO *b) | 458 | BIO_pop(BIO *b) |
459 | { | 459 | { |
460 | BIO *ret; | 460 | BIO *ret; |
461 | 461 | ||
@@ -475,8 +475,8 @@ BIO | |||
475 | return (ret); | 475 | return (ret); |
476 | } | 476 | } |
477 | 477 | ||
478 | BIO | 478 | BIO * |
479 | *BIO_get_retry_BIO(BIO *bio, int *reason) | 479 | BIO_get_retry_BIO(BIO *bio, int *reason) |
480 | { | 480 | { |
481 | BIO *b, *last; | 481 | BIO *b, *last; |
482 | 482 | ||
@@ -500,8 +500,8 @@ BIO_get_retry_reason(BIO *bio) | |||
500 | return (bio->retry_reason); | 500 | return (bio->retry_reason); |
501 | } | 501 | } |
502 | 502 | ||
503 | BIO | 503 | BIO * |
504 | *BIO_find_type(BIO *bio, int type) | 504 | BIO_find_type(BIO *bio, int type) |
505 | { | 505 | { |
506 | int mt, mask; | 506 | int mt, mask; |
507 | 507 | ||
@@ -522,8 +522,8 @@ BIO | |||
522 | return (NULL); | 522 | return (NULL); |
523 | } | 523 | } |
524 | 524 | ||
525 | BIO | 525 | BIO * |
526 | *BIO_next(BIO *b) | 526 | BIO_next(BIO *b) |
527 | { | 527 | { |
528 | if (!b) | 528 | if (!b) |
529 | return NULL; | 529 | return NULL; |
@@ -547,8 +547,8 @@ BIO_free_all(BIO *bio) | |||
547 | } | 547 | } |
548 | } | 548 | } |
549 | 549 | ||
550 | BIO | 550 | BIO * |
551 | *BIO_dup_chain(BIO *in) | 551 | BIO_dup_chain(BIO *in) |
552 | { | 552 | { |
553 | BIO *ret = NULL, *eoc = NULL, *bio, *new_bio; | 553 | BIO *ret = NULL, *eoc = NULL, *bio, *new_bio; |
554 | 554 | ||
@@ -611,8 +611,8 @@ BIO_set_ex_data(BIO *bio, int idx, void *data) | |||
611 | return (CRYPTO_set_ex_data(&(bio->ex_data), idx, data)); | 611 | return (CRYPTO_set_ex_data(&(bio->ex_data), idx, data)); |
612 | } | 612 | } |
613 | 613 | ||
614 | void | 614 | void * |
615 | *BIO_get_ex_data(BIO *bio, int idx) | 615 | BIO_get_ex_data(BIO *bio, int idx) |
616 | { | 616 | { |
617 | return (CRYPTO_get_ex_data(&(bio->ex_data), idx)); | 617 | return (CRYPTO_get_ex_data(&(bio->ex_data), idx)); |
618 | } | 618 | } |
diff --git a/src/lib/libcrypto/bio/bss_acpt.c b/src/lib/libcrypto/bio/bss_acpt.c index 161b5d01f8..a272ada366 100644 --- a/src/lib/libcrypto/bio/bss_acpt.c +++ b/src/lib/libcrypto/bio/bss_acpt.c | |||
@@ -110,8 +110,8 @@ static BIO_METHOD methods_acceptp = { | |||
110 | NULL, | 110 | NULL, |
111 | }; | 111 | }; |
112 | 112 | ||
113 | BIO_METHOD | 113 | BIO_METHOD * |
114 | *BIO_s_accept(void) | 114 | BIO_s_accept(void) |
115 | { | 115 | { |
116 | return (&methods_acceptp); | 116 | return (&methods_acceptp); |
117 | } | 117 | } |
@@ -132,8 +132,8 @@ acpt_new(BIO *bi) | |||
132 | return (1); | 132 | return (1); |
133 | } | 133 | } |
134 | 134 | ||
135 | static BIO_ACCEPT | 135 | static BIO_ACCEPT * |
136 | *BIO_ACCEPT_new(void) | 136 | BIO_ACCEPT_new(void) |
137 | { | 137 | { |
138 | BIO_ACCEPT *ret; | 138 | BIO_ACCEPT *ret; |
139 | 139 | ||
@@ -443,8 +443,8 @@ acpt_puts(BIO *bp, const char *str) | |||
443 | return (ret); | 443 | return (ret); |
444 | } | 444 | } |
445 | 445 | ||
446 | BIO | 446 | BIO * |
447 | *BIO_new_accept(char *str) | 447 | BIO_new_accept(char *str) |
448 | { | 448 | { |
449 | BIO *ret; | 449 | BIO *ret; |
450 | 450 | ||
diff --git a/src/lib/libcrypto/bio/bss_bio.c b/src/lib/libcrypto/bio/bss_bio.c index 4d93aba0a4..33a0709aaf 100644 --- a/src/lib/libcrypto/bio/bss_bio.c +++ b/src/lib/libcrypto/bio/bss_bio.c | |||
@@ -116,8 +116,8 @@ static BIO_METHOD methods_biop = { | |||
116 | NULL /* no bio_callback_ctrl */ | 116 | NULL /* no bio_callback_ctrl */ |
117 | }; | 117 | }; |
118 | 118 | ||
119 | BIO_METHOD | 119 | BIO_METHOD * |
120 | *BIO_s_bio(void) | 120 | BIO_s_bio(void) |
121 | { | 121 | { |
122 | return &methods_biop; | 122 | return &methods_biop; |
123 | } | 123 | } |
diff --git a/src/lib/libcrypto/bio/bss_conn.c b/src/lib/libcrypto/bio/bss_conn.c index 78ce240648..9c5320cafb 100644 --- a/src/lib/libcrypto/bio/bss_conn.c +++ b/src/lib/libcrypto/bio/bss_conn.c | |||
@@ -288,8 +288,8 @@ end: | |||
288 | return (ret); | 288 | return (ret); |
289 | } | 289 | } |
290 | 290 | ||
291 | BIO_CONNECT | 291 | BIO_CONNECT * |
292 | *BIO_CONNECT_new(void) | 292 | BIO_CONNECT_new(void) |
293 | { | 293 | { |
294 | BIO_CONNECT *ret; | 294 | BIO_CONNECT *ret; |
295 | 295 | ||
@@ -322,8 +322,8 @@ BIO_CONNECT_free(BIO_CONNECT *a) | |||
322 | free(a); | 322 | free(a); |
323 | } | 323 | } |
324 | 324 | ||
325 | BIO_METHOD | 325 | BIO_METHOD * |
326 | *BIO_s_connect(void) | 326 | BIO_s_connect(void) |
327 | { | 327 | { |
328 | return (&methods_connectp); | 328 | return (&methods_connectp); |
329 | } | 329 | } |
@@ -592,8 +592,8 @@ conn_puts(BIO *bp, const char *str) | |||
592 | return (ret); | 592 | return (ret); |
593 | } | 593 | } |
594 | 594 | ||
595 | BIO | 595 | BIO * |
596 | *BIO_new_connect(char *str) | 596 | BIO_new_connect(char *str) |
597 | { | 597 | { |
598 | BIO *ret; | 598 | BIO *ret; |
599 | 599 | ||
diff --git a/src/lib/libcrypto/bio/bss_dgram.c b/src/lib/libcrypto/bio/bss_dgram.c index e0445fc97e..4c54601abc 100644 --- a/src/lib/libcrypto/bio/bss_dgram.c +++ b/src/lib/libcrypto/bio/bss_dgram.c | |||
@@ -187,14 +187,14 @@ typedef struct bio_dgram_sctp_data_st { | |||
187 | } bio_dgram_sctp_data; | 187 | } bio_dgram_sctp_data; |
188 | #endif | 188 | #endif |
189 | 189 | ||
190 | BIO_METHOD | 190 | BIO_METHOD * |
191 | *BIO_s_datagram(void) | 191 | BIO_s_datagram(void) |
192 | { | 192 | { |
193 | return (&methods_dgramp); | 193 | return (&methods_dgramp); |
194 | } | 194 | } |
195 | 195 | ||
196 | BIO | 196 | BIO * |
197 | *BIO_new_dgram(int fd, int close_flag) | 197 | BIO_new_dgram(int fd, int close_flag) |
198 | { | 198 | { |
199 | BIO *ret; | 199 | BIO *ret; |
200 | 200 | ||
@@ -764,14 +764,14 @@ dgram_puts(BIO *bp, const char *str) | |||
764 | } | 764 | } |
765 | 765 | ||
766 | #ifndef OPENSSL_NO_SCTP | 766 | #ifndef OPENSSL_NO_SCTP |
767 | BIO_METHOD | 767 | BIO_METHOD * |
768 | *BIO_s_datagram_sctp(void) | 768 | BIO_s_datagram_sctp(void) |
769 | { | 769 | { |
770 | return (&methods_dgramp_sctp); | 770 | return (&methods_dgramp_sctp); |
771 | } | 771 | } |
772 | 772 | ||
773 | BIO | 773 | BIO * |
774 | *BIO_new_dgram_sctp(int fd, int close_flag) | 774 | BIO_new_dgram_sctp(int fd, int close_flag) |
775 | { | 775 | { |
776 | BIO *bio; | 776 | BIO *bio; |
777 | int ret, optval = 20000; | 777 | int ret, optval = 20000; |
diff --git a/src/lib/libcrypto/bio/bss_fd.c b/src/lib/libcrypto/bio/bss_fd.c index 988104e77c..4369d6411d 100644 --- a/src/lib/libcrypto/bio/bss_fd.c +++ b/src/lib/libcrypto/bio/bss_fd.c | |||
@@ -90,14 +90,14 @@ static BIO_METHOD methods_fdp = { | |||
90 | NULL, | 90 | NULL, |
91 | }; | 91 | }; |
92 | 92 | ||
93 | BIO_METHOD | 93 | BIO_METHOD * |
94 | *BIO_s_fd(void) | 94 | BIO_s_fd(void) |
95 | { | 95 | { |
96 | return (&methods_fdp); | 96 | return (&methods_fdp); |
97 | } | 97 | } |
98 | 98 | ||
99 | BIO | 99 | BIO * |
100 | *BIO_new_fd(int fd, int close_flag) | 100 | BIO_new_fd(int fd, int close_flag) |
101 | { | 101 | { |
102 | BIO *ret; | 102 | BIO *ret; |
103 | ret = BIO_new(BIO_s_fd()); | 103 | ret = BIO_new(BIO_s_fd()); |
diff --git a/src/lib/libcrypto/bio/bss_file.c b/src/lib/libcrypto/bio/bss_file.c index c92c4753aa..995c623341 100644 --- a/src/lib/libcrypto/bio/bss_file.c +++ b/src/lib/libcrypto/bio/bss_file.c | |||
@@ -112,8 +112,8 @@ static BIO_METHOD methods_filep = { | |||
112 | NULL, | 112 | NULL, |
113 | }; | 113 | }; |
114 | 114 | ||
115 | BIO | 115 | BIO * |
116 | *BIO_new_file(const char *filename, const char *mode) | 116 | BIO_new_file(const char *filename, const char *mode) |
117 | { | 117 | { |
118 | BIO *ret; | 118 | BIO *ret; |
119 | FILE *file = NULL; | 119 | FILE *file = NULL; |
@@ -138,8 +138,8 @@ BIO | |||
138 | return (ret); | 138 | return (ret); |
139 | } | 139 | } |
140 | 140 | ||
141 | BIO | 141 | BIO * |
142 | *BIO_new_fp(FILE *stream, int close_flag) | 142 | BIO_new_fp(FILE *stream, int close_flag) |
143 | { | 143 | { |
144 | BIO *ret; | 144 | BIO *ret; |
145 | 145 | ||
@@ -150,8 +150,8 @@ BIO | |||
150 | return (ret); | 150 | return (ret); |
151 | } | 151 | } |
152 | 152 | ||
153 | BIO_METHOD | 153 | BIO_METHOD * |
154 | *BIO_s_file(void) | 154 | BIO_s_file(void) |
155 | { | 155 | { |
156 | return (&methods_filep); | 156 | return (&methods_filep); |
157 | } | 157 | } |
diff --git a/src/lib/libcrypto/bio/bss_log.c b/src/lib/libcrypto/bio/bss_log.c index cde3c858f1..342176f82e 100644 --- a/src/lib/libcrypto/bio/bss_log.c +++ b/src/lib/libcrypto/bio/bss_log.c | |||
@@ -97,8 +97,8 @@ static BIO_METHOD methods_slg = { | |||
97 | NULL, | 97 | NULL, |
98 | }; | 98 | }; |
99 | 99 | ||
100 | BIO_METHOD | 100 | BIO_METHOD * |
101 | *BIO_s_log(void) | 101 | BIO_s_log(void) |
102 | { | 102 | { |
103 | return (&methods_slg); | 103 | return (&methods_slg); |
104 | } | 104 | } |
diff --git a/src/lib/libcrypto/bio/bss_mem.c b/src/lib/libcrypto/bio/bss_mem.c index a5192202bd..1a477c12be 100644 --- a/src/lib/libcrypto/bio/bss_mem.c +++ b/src/lib/libcrypto/bio/bss_mem.c | |||
@@ -85,14 +85,14 @@ static BIO_METHOD mem_method = { | |||
85 | /* bio->num is used to hold the value to return on 'empty', if it is | 85 | /* bio->num is used to hold the value to return on 'empty', if it is |
86 | * 0, should_retry is not set */ | 86 | * 0, should_retry is not set */ |
87 | 87 | ||
88 | BIO_METHOD | 88 | BIO_METHOD * |
89 | *BIO_s_mem(void) | 89 | BIO_s_mem(void) |
90 | { | 90 | { |
91 | return (&mem_method); | 91 | return (&mem_method); |
92 | } | 92 | } |
93 | 93 | ||
94 | BIO | 94 | BIO * |
95 | *BIO_new_mem_buf(void *buf, int len) | 95 | BIO_new_mem_buf(void *buf, int len) |
96 | { | 96 | { |
97 | BIO *ret; | 97 | BIO *ret; |
98 | BUF_MEM *b; | 98 | BUF_MEM *b; |
diff --git a/src/lib/libcrypto/bio/bss_null.c b/src/lib/libcrypto/bio/bss_null.c index 51aed2ac4b..c7289725d9 100644 --- a/src/lib/libcrypto/bio/bss_null.c +++ b/src/lib/libcrypto/bio/bss_null.c | |||
@@ -82,8 +82,8 @@ static BIO_METHOD null_method = { | |||
82 | NULL, | 82 | NULL, |
83 | }; | 83 | }; |
84 | 84 | ||
85 | BIO_METHOD | 85 | BIO_METHOD * |
86 | *BIO_s_null(void) | 86 | BIO_s_null(void) |
87 | { | 87 | { |
88 | return (&null_method); | 88 | return (&null_method); |
89 | } | 89 | } |
diff --git a/src/lib/libcrypto/bio/bss_sock.c b/src/lib/libcrypto/bio/bss_sock.c index b9cf817a0c..5335495c6e 100644 --- a/src/lib/libcrypto/bio/bss_sock.c +++ b/src/lib/libcrypto/bio/bss_sock.c | |||
@@ -86,14 +86,14 @@ static BIO_METHOD methods_sockp = { | |||
86 | NULL, | 86 | NULL, |
87 | }; | 87 | }; |
88 | 88 | ||
89 | BIO_METHOD | 89 | BIO_METHOD * |
90 | *BIO_s_socket(void) | 90 | BIO_s_socket(void) |
91 | { | 91 | { |
92 | return (&methods_sockp); | 92 | return (&methods_sockp); |
93 | } | 93 | } |
94 | 94 | ||
95 | BIO | 95 | BIO * |
96 | *BIO_new_socket(int fd, int close_flag) | 96 | BIO_new_socket(int fd, int close_flag) |
97 | { | 97 | { |
98 | BIO *ret; | 98 | BIO *ret; |
99 | 99 | ||