summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorbeck <>2023-07-05 17:32:51 +0000
committerbeck <>2023-07-05 17:32:51 +0000
commit91007d9e4c34d3a71ca05ee0cf3db536eadd6b71 (patch)
tree98d7bc371eb4b2f82eb0abc1052e07f6647d259f /src/lib
parent3e3c527fc69ce89da1f756006b2b9d3023306411 (diff)
downloadopenbsd-91007d9e4c34d3a71ca05ee0cf3db536eadd6b71.tar.gz
openbsd-91007d9e4c34d3a71ca05ee0cf3db536eadd6b71.tar.bz2
openbsd-91007d9e4c34d3a71ca05ee0cf3db536eadd6b71.zip
Correct formatting
ok jsing@
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/libcrypto/bio/bio.h26
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);
536unsigned long BIO_number_written(BIO *bio); 536unsigned long BIO_number_written(BIO *bio);
537 537
538/* For BIO_f_asn1() */ 538/* For BIO_f_asn1() */
539int 539int BIO_asn1_set_prefix(BIO *b, asn1_ps_func *prefix,
540BIO_asn1_set_prefix(BIO *b, asn1_ps_func *prefix,
541asn1_ps_func *prefix_free); 540asn1_ps_func *prefix_free);
542int 541int BIO_asn1_get_prefix(BIO *b, asn1_ps_func **pprefix,
543BIO_asn1_get_prefix(BIO *b, asn1_ps_func **pprefix,
544asn1_ps_func **pprefix_free); 542asn1_ps_func **pprefix_free);
545int 543int BIO_asn1_set_suffix(BIO *b, asn1_ps_func *suffix,
546BIO_asn1_set_suffix(BIO *b, asn1_ps_func *suffix,
547asn1_ps_func *suffix_free); 544asn1_ps_func *suffix_free);
548int 545int BIO_asn1_get_suffix(BIO *b, asn1_ps_func **psuffix,
549BIO_asn1_get_suffix(BIO *b, asn1_ps_func **psuffix,
550asn1_ps_func **psuffix_free); 546asn1_ps_func **psuffix_free);
551 547
552int BIO_get_new_index(void); 548int 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
670int 666int BIO_printf(BIO *bio, const char *format, ...)
671BIO_printf(BIO *bio, const char *format, ...)
672 __attribute__((__format__(__printf__, 2, 3), __nonnull__(2))); 667 __attribute__((__format__(__printf__, 2, 3), __nonnull__(2)));
673int 668int BIO_vprintf(BIO *bio, const char *format, va_list args)
674BIO_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)));
676int 670int BIO_snprintf(char *buf, size_t n, const char *format, ...)
677BIO_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)));
680int 673int BIO_vsnprintf(char *buf, size_t n, const char *format, va_list args)
681BIO_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