diff options
author | Richard Levitte <levitte@openssl.org> | 2020-07-09 18:55:44 +0200 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2020-07-24 16:32:01 +0200 |
commit | 853ca12813dee0ec7ac75cfe5f1c9685ffb2d420 (patch) | |
tree | f197c54972ae83f64fac3cbba5c54d0b18b2bb0a /providers/common/include | |
parent | 072a9fde7d67a621ebd2c8d1ba22ab6e17da5a88 (diff) |
CORE: Add upcalls for BIO_gets() and BIO_puts()
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/12410)
Diffstat (limited to 'providers/common/include')
-rw-r--r-- | providers/common/include/prov/bio.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/providers/common/include/prov/bio.h b/providers/common/include/prov/bio.h index c63f6b5da5..3cef89ce18 100644 --- a/providers/common/include/prov/bio.h +++ b/providers/common/include/prov/bio.h @@ -20,6 +20,8 @@ int ossl_prov_bio_read_ex(OSSL_CORE_BIO *bio, void *data, size_t data_len, size_t *bytes_read); int ossl_prov_bio_write_ex(OSSL_CORE_BIO *bio, const void *data, size_t data_len, size_t *written); +int ossl_prov_bio_gets(OSSL_CORE_BIO *bio, char *buf, int size); +int ossl_prov_bio_puts(OSSL_CORE_BIO *bio, const char *str); int ossl_prov_bio_free(OSSL_CORE_BIO *bio); int ossl_prov_bio_vprintf(OSSL_CORE_BIO *bio, const char *format, va_list ap); int ossl_prov_bio_printf(OSSL_CORE_BIO *bio, const char *format, ...); |