diff options
author | schwarze <> | 2023-08-25 12:37:33 +0000 |
---|---|---|
committer | schwarze <> | 2023-08-25 12:37:33 +0000 |
commit | b85d8476c405a45be47e5c1b7616f15b8f2f31a6 (patch) | |
tree | 85c857d80108baca0bc656ccbea65537c048cc79 /src/lib/libcrypto/bio/bio.h | |
parent | e2a57b655c4b3eec8bbc5b212944e20daba3edd4 (diff) | |
download | openbsd-b85d8476c405a45be47e5c1b7616f15b8f2f31a6.tar.gz openbsd-b85d8476c405a45be47e5c1b7616f15b8f2f31a6.tar.bz2 openbsd-b85d8476c405a45be47e5c1b7616f15b8f2f31a6.zip |
KNF, no assembly change
OK tb@ jsing@
Diffstat (limited to 'src/lib/libcrypto/bio/bio.h')
-rw-r--r-- | src/lib/libcrypto/bio/bio.h | 22 |
1 files changed, 9 insertions, 13 deletions
diff --git a/src/lib/libcrypto/bio/bio.h b/src/lib/libcrypto/bio/bio.h index 8450780f69..b955524c45 100644 --- a/src/lib/libcrypto/bio/bio.h +++ b/src/lib/libcrypto/bio/bio.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: bio.h,v 1.59 2023/07/28 09:58:30 tb Exp $ */ | 1 | /* $OpenBSD: bio.h,v 1.60 2023/08/25 12:37:33 schwarze 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 | * |
@@ -524,9 +524,8 @@ int BIO_ctrl_reset_read_request(BIO *b); | |||
524 | /* void BIO_set_ex_free_func(BIO *bio,int idx,void (*cb)()); */ | 524 | /* void BIO_set_ex_free_func(BIO *bio,int idx,void (*cb)()); */ |
525 | int BIO_set_ex_data(BIO *bio, int idx, void *data); | 525 | int BIO_set_ex_data(BIO *bio, int idx, void *data); |
526 | void *BIO_get_ex_data(BIO *bio, int idx); | 526 | void *BIO_get_ex_data(BIO *bio, int idx); |
527 | int | 527 | int BIO_get_ex_new_index(long argl, void *argp, CRYPTO_EX_new *new_func, |
528 | BIO_get_ex_new_index(long argl, void *argp, CRYPTO_EX_new *new_func, | 528 | CRYPTO_EX_dup *dup_func, CRYPTO_EX_free *free_func); |
529 | CRYPTO_EX_dup *dup_func, CRYPTO_EX_free *free_func); | ||
530 | unsigned long BIO_number_read(BIO *bio); | 529 | unsigned long BIO_number_read(BIO *bio); |
531 | unsigned long BIO_number_written(BIO *bio); | 530 | unsigned long BIO_number_written(BIO *bio); |
532 | 531 | ||
@@ -600,12 +599,10 @@ int BIO_dgram_non_fatal_error(int _error); | |||
600 | 599 | ||
601 | int BIO_fd_should_retry(int i); | 600 | int BIO_fd_should_retry(int i); |
602 | int BIO_fd_non_fatal_error(int _error); | 601 | int BIO_fd_non_fatal_error(int _error); |
603 | int | 602 | int BIO_dump_cb(int (*cb)(const void *data, size_t len, void *u), |
604 | BIO_dump_cb(int (*cb)(const void *data, size_t len, void *u), | 603 | void *u, const char *s, int len); |
605 | void *u, const char *s, int len); | 604 | int BIO_dump_indent_cb(int (*cb)(const void *data, size_t len, void *u), |
606 | int | 605 | void *u, const char *s, int len, int indent); |
607 | BIO_dump_indent_cb(int (*cb)(const void *data, size_t len, void *u), | ||
608 | void *u, const char *s, int len, int indent); | ||
609 | int BIO_dump(BIO *b, const char *bytes, int len); | 606 | int BIO_dump(BIO *b, const char *bytes, int len); |
610 | int BIO_dump_indent(BIO *b, const char *bytes, int len, int indent); | 607 | int BIO_dump_indent(BIO *b, const char *bytes, int len, int indent); |
611 | int BIO_dump_fp(FILE *fp, const char *s, int len); | 608 | int BIO_dump_fp(FILE *fp, const char *s, int len); |
@@ -636,9 +633,8 @@ BIO *BIO_new_fd(int fd, int close_flag); | |||
636 | BIO *BIO_new_connect(const char *host_port); | 633 | BIO *BIO_new_connect(const char *host_port); |
637 | BIO *BIO_new_accept(const char *host_port); | 634 | BIO *BIO_new_accept(const char *host_port); |
638 | 635 | ||
639 | int | 636 | int BIO_new_bio_pair(BIO **bio1, size_t writebuf1, |
640 | BIO_new_bio_pair(BIO **bio1, size_t writebuf1, | 637 | BIO **bio2, size_t writebuf2); |
641 | BIO **bio2, size_t writebuf2); | ||
642 | /* If successful, returns 1 and in *bio1, *bio2 two BIO pair endpoints. | 638 | /* If successful, returns 1 and in *bio1, *bio2 two BIO pair endpoints. |
643 | * Otherwise returns 0 and sets *bio1 and *bio2 to NULL. | 639 | * Otherwise returns 0 and sets *bio1 and *bio2 to NULL. |
644 | * Size 0 uses default value. | 640 | * Size 0 uses default value. |