diff options
| author | beck <> | 2023-07-05 17:32:51 +0000 |
|---|---|---|
| committer | beck <> | 2023-07-05 17:32:51 +0000 |
| commit | 6eb6ac160b83f1e84cfcfa2da879e2373672ec23 (patch) | |
| tree | 98d7bc371eb4b2f82eb0abc1052e07f6647d259f /src/lib/libc | |
| parent | 82dd34d70c585b4b99c4ddf5fae3480da08af357 (diff) | |
| download | openbsd-6eb6ac160b83f1e84cfcfa2da879e2373672ec23.tar.gz openbsd-6eb6ac160b83f1e84cfcfa2da879e2373672ec23.tar.bz2 openbsd-6eb6ac160b83f1e84cfcfa2da879e2373672ec23.zip | |
Correct formatting
ok jsing@
Diffstat (limited to '')
| -rw-r--r-- | src/lib/libcrypto/bio/bio.h | 26 |
1 files changed, 9 insertions, 17 deletions
diff --git a/src/lib/libcrypto/bio/bio.h b/src/lib/libcrypto/bio/bio.h index 5030a2c2d2..82c4d68f12 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.56 2022/09/11 17:26:03 tb Exp $ */ | 1 | /* $OpenBSD: bio.h,v 1.57 2023/07/05 17:32:51 beck 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 | * |
| @@ -536,17 +536,13 @@ unsigned long BIO_number_read(BIO *bio); | |||
| 536 | unsigned long BIO_number_written(BIO *bio); | 536 | unsigned long BIO_number_written(BIO *bio); |
| 537 | 537 | ||
| 538 | /* For BIO_f_asn1() */ | 538 | /* For BIO_f_asn1() */ |
| 539 | int | 539 | int BIO_asn1_set_prefix(BIO *b, asn1_ps_func *prefix, |
| 540 | BIO_asn1_set_prefix(BIO *b, asn1_ps_func *prefix, | ||
| 541 | asn1_ps_func *prefix_free); | 540 | asn1_ps_func *prefix_free); |
| 542 | int | 541 | int BIO_asn1_get_prefix(BIO *b, asn1_ps_func **pprefix, |
| 543 | BIO_asn1_get_prefix(BIO *b, asn1_ps_func **pprefix, | ||
| 544 | asn1_ps_func **pprefix_free); | 542 | asn1_ps_func **pprefix_free); |
| 545 | int | 543 | int BIO_asn1_set_suffix(BIO *b, asn1_ps_func *suffix, |
| 546 | BIO_asn1_set_suffix(BIO *b, asn1_ps_func *suffix, | ||
| 547 | asn1_ps_func *suffix_free); | 544 | asn1_ps_func *suffix_free); |
| 548 | int | 545 | int BIO_asn1_get_suffix(BIO *b, asn1_ps_func **psuffix, |
| 549 | BIO_asn1_get_suffix(BIO *b, asn1_ps_func **psuffix, | ||
| 550 | asn1_ps_func **psuffix_free); | 546 | asn1_ps_func **psuffix_free); |
| 551 | 547 | ||
| 552 | int BIO_get_new_index(void); | 548 | int BIO_get_new_index(void); |
| @@ -667,18 +663,14 @@ void BIO_copy_next_retry(BIO *b); | |||
| 667 | 663 | ||
| 668 | /*long BIO_ghbn_ctrl(int cmd,int iarg,char *parg);*/ | 664 | /*long BIO_ghbn_ctrl(int cmd,int iarg,char *parg);*/ |
| 669 | 665 | ||
| 670 | int | 666 | int BIO_printf(BIO *bio, const char *format, ...) |
| 671 | BIO_printf(BIO *bio, const char *format, ...) | ||
| 672 | __attribute__((__format__(__printf__, 2, 3), __nonnull__(2))); | 667 | __attribute__((__format__(__printf__, 2, 3), __nonnull__(2))); |
| 673 | int | 668 | int BIO_vprintf(BIO *bio, const char *format, va_list args) |
| 674 | BIO_vprintf(BIO *bio, const char *format, va_list args) | ||
| 675 | __attribute__((__format__(__printf__, 2, 0), __nonnull__(2))); | 669 | __attribute__((__format__(__printf__, 2, 0), __nonnull__(2))); |
| 676 | int | 670 | int BIO_snprintf(char *buf, size_t n, const char *format, ...) |
| 677 | BIO_snprintf(char *buf, size_t n, const char *format, ...) | ||
| 678 | __attribute__((__deprecated__, __format__(__printf__, 3, 4), | 671 | __attribute__((__deprecated__, __format__(__printf__, 3, 4), |
| 679 | __nonnull__(3))); | 672 | __nonnull__(3))); |
| 680 | int | 673 | int BIO_vsnprintf(char *buf, size_t n, const char *format, va_list args) |
| 681 | BIO_vsnprintf(char *buf, size_t n, const char *format, va_list args) | ||
| 682 | __attribute__((__deprecated__, __format__(__printf__, 3, 0), | 674 | __attribute__((__deprecated__, __format__(__printf__, 3, 0), |
| 683 | __nonnull__(3))); | 675 | __nonnull__(3))); |
| 684 | 676 | ||
