summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/bio/bio.h
diff options
context:
space:
mode:
authortb <>2024-03-02 09:18:28 +0000
committertb <>2024-03-02 09:18:28 +0000
commit0ad809a3e5e65ac5128296f24014a9b037cbed24 (patch)
treea10ae269ac1b72561a9a6dc886dfb556d16c89ba /src/lib/libcrypto/bio/bio.h
parentf827b9a95a19d381c8962caf97efb82ce0d90115 (diff)
downloadopenbsd-0ad809a3e5e65ac5128296f24014a9b037cbed24.tar.gz
openbsd-0ad809a3e5e65ac5128296f24014a9b037cbed24.tar.bz2
openbsd-0ad809a3e5e65ac5128296f24014a9b037cbed24.zip
Remove BIO_{sn,v,vsn}printf(3)
Unsued printing functionality. If something should need this we can readily add it back. ok jsing
Diffstat (limited to 'src/lib/libcrypto/bio/bio.h')
-rw-r--r--src/lib/libcrypto/bio/bio.h18
1 files changed, 1 insertions, 17 deletions
diff --git a/src/lib/libcrypto/bio/bio.h b/src/lib/libcrypto/bio/bio.h
index b955524c45..10b0924f73 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.60 2023/08/25 12:37:33 schwarze Exp $ */ 1/* $OpenBSD: bio.h,v 1.61 2024/03/02 09:18:28 tb 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 *
@@ -648,25 +648,9 @@ void BIO_copy_next_retry(BIO *b);
648#ifndef __MINGW_PRINTF_FORMAT 648#ifndef __MINGW_PRINTF_FORMAT
649int BIO_printf(BIO *bio, const char *format, ...) 649int BIO_printf(BIO *bio, const char *format, ...)
650 __attribute__((__format__(__printf__, 2, 3), __nonnull__(2))); 650 __attribute__((__format__(__printf__, 2, 3), __nonnull__(2)));
651int BIO_vprintf(BIO *bio, const char *format, va_list args)
652 __attribute__((__format__(__printf__, 2, 0), __nonnull__(2)));
653int BIO_snprintf(char *buf, size_t n, const char *format, ...)
654 __attribute__((__deprecated__, __format__(__printf__, 3, 4),
655 __nonnull__(3)));
656int BIO_vsnprintf(char *buf, size_t n, const char *format, va_list args)
657 __attribute__((__deprecated__, __format__(__printf__, 3, 0),
658 __nonnull__(3)));
659#else 651#else
660int BIO_printf(BIO *bio, const char *format, ...) 652int BIO_printf(BIO *bio, const char *format, ...)
661 __attribute__((__format__(__MINGW_PRINTF_FORMAT, 2, 3), __nonnull__(2))); 653 __attribute__((__format__(__MINGW_PRINTF_FORMAT, 2, 3), __nonnull__(2)));
662int BIO_vprintf(BIO *bio, const char *format, va_list args)
663 __attribute__((__format__(__MINGW_PRINTF_FORMAT, 2, 0), __nonnull__(2)));
664int BIO_snprintf(char *buf, size_t n, const char *format, ...)
665 __attribute__((__deprecated__, __format__(__MINGW_PRINTF_FORMAT, 3, 4),
666 __nonnull__(3)));
667int BIO_vsnprintf(char *buf, size_t n, const char *format, va_list args)
668 __attribute__((__deprecated__, __format__(__MINGW_PRINTF_FORMAT, 3, 0),
669 __nonnull__(3)));
670#endif 654#endif
671 655
672void ERR_load_BIO_strings(void); 656void ERR_load_BIO_strings(void);