diff options
author | tb <> | 2024-03-02 09:18:28 +0000 |
---|---|---|
committer | tb <> | 2024-03-02 09:18:28 +0000 |
commit | 0ad809a3e5e65ac5128296f24014a9b037cbed24 (patch) | |
tree | a10ae269ac1b72561a9a6dc886dfb556d16c89ba /src/lib/libcrypto/bio/bio.h | |
parent | f827b9a95a19d381c8962caf97efb82ce0d90115 (diff) | |
download | openbsd-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.h | 18 |
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 |
649 | int BIO_printf(BIO *bio, const char *format, ...) | 649 | int BIO_printf(BIO *bio, const char *format, ...) |
650 | __attribute__((__format__(__printf__, 2, 3), __nonnull__(2))); | 650 | __attribute__((__format__(__printf__, 2, 3), __nonnull__(2))); |
651 | int BIO_vprintf(BIO *bio, const char *format, va_list args) | ||
652 | __attribute__((__format__(__printf__, 2, 0), __nonnull__(2))); | ||
653 | int BIO_snprintf(char *buf, size_t n, const char *format, ...) | ||
654 | __attribute__((__deprecated__, __format__(__printf__, 3, 4), | ||
655 | __nonnull__(3))); | ||
656 | int 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 |
660 | int BIO_printf(BIO *bio, const char *format, ...) | 652 | int 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))); |
662 | int BIO_vprintf(BIO *bio, const char *format, va_list args) | ||
663 | __attribute__((__format__(__MINGW_PRINTF_FORMAT, 2, 0), __nonnull__(2))); | ||
664 | int BIO_snprintf(char *buf, size_t n, const char *format, ...) | ||
665 | __attribute__((__deprecated__, __format__(__MINGW_PRINTF_FORMAT, 3, 4), | ||
666 | __nonnull__(3))); | ||
667 | int 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 | ||
672 | void ERR_load_BIO_strings(void); | 656 | void ERR_load_BIO_strings(void); |