diff options
Diffstat (limited to 'src/include/openssl/bio.h')
-rw-r--r-- | src/include/openssl/bio.h | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/src/include/openssl/bio.h b/src/include/openssl/bio.h index b28439ab..17d47fc1 100644 --- a/src/include/openssl/bio.h +++ b/src/include/openssl/bio.h @@ -703,17 +703,9 @@ OPENSSL_EXPORT int BIO_meth_set_ctrl(BIO_METHOD *method, // BIO_set_data sets custom data on |bio|. It may be retried with // |BIO_get_data|. -// -// This function should only be called by the implementation of a custom |BIO|. -// In particular, the data pointer of a built-in |BIO| is private to the -// library. For other uses, see |BIO_set_ex_data| and |BIO_set_app_data|. OPENSSL_EXPORT void BIO_set_data(BIO *bio, void *ptr); // BIO_get_data returns custom data on |bio| set by |BIO_get_data|. -// -// This function should only be called by the implementation of a custom |BIO|. -// In particular, the data pointer of a built-in |BIO| is private to the -// library. For other uses, see |BIO_get_ex_data| and |BIO_get_app_data|. OPENSSL_EXPORT void *BIO_get_data(BIO *bio); // BIO_set_init sets whether |bio| has been fully initialized. Until fully @@ -769,21 +761,6 @@ OPENSSL_EXPORT int BIO_get_init(BIO *bio); #define BIO_CTRL_SET_FILENAME 30 -// ex_data functions. -// -// See |ex_data.h| for details. - -OPENSSL_EXPORT int BIO_get_ex_new_index(long argl, void *argp, - CRYPTO_EX_unused *unused, - CRYPTO_EX_dup *dup_unused, - CRYPTO_EX_free *free_func); -OPENSSL_EXPORT int BIO_set_ex_data(BIO *bio, int idx, void *arg); -OPENSSL_EXPORT void *BIO_get_ex_data(const BIO *bio, int idx); - -#define BIO_set_app_data(bio, arg) (BIO_set_ex_data(bio, 0, (char *)(arg))) -#define BIO_get_app_data(bio) (BIO_get_ex_data(bio, 0)) - - // Deprecated functions. // BIO_f_base64 returns a filter |BIO| that base64-encodes data written into @@ -875,7 +852,6 @@ struct bio_method_st { struct bio_st { const BIO_METHOD *method; - CRYPTO_EX_DATA ex_data; // init is non-zero if this |BIO| has been initialised. int init; |