summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorFdaSilvaYY <fdasilvayy@gmail.com>2016-06-10 23:28:44 +0200
committerRich Salz <rsalz@openssl.org>2016-07-25 13:48:32 -0400
commit9d7bfb14dd22c372d6583c20583cbf9aea4cc033 (patch)
treebdc77ec3f55548fde936e1a7a65ae75a8425883c /include
parent78a01b3f69f563a1577a6f90edbd9ebde80d6b70 (diff)
Discard BIO_set(BIO* bio) method
Simplify BIO init using OPENSSL_zalloc(). Reviewed-by: Matt Caswell <matt@openssl.org> Reviewed-by: Rich Salz <rsalz@openssl.org> (Merged from https://github.com/openssl/openssl/pull/1261)
Diffstat (limited to 'include')
-rw-r--r--include/openssl/bio.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/openssl/bio.h b/include/openssl/bio.h
index ed50139ed4..f847348d5a 100644
--- a/include/openssl/bio.h
+++ b/include/openssl/bio.h
@@ -533,7 +533,6 @@ BIO *BIO_new_file(const char *filename, const char *mode);
BIO *BIO_new_fp(FILE *stream, int close_flag);
# endif
BIO *BIO_new(const BIO_METHOD *type);
-int BIO_set(BIO *a, const BIO_METHOD *type);
int BIO_free(BIO *a);
void BIO_set_data(BIO *a, void *ptr);
void *BIO_get_data(BIO *a);
@@ -792,7 +791,6 @@ int ERR_load_BIO_strings(void);
# define BIO_F_BIO_PARSE_HOSTSERV 136
# define BIO_F_BIO_PUTS 110
# define BIO_F_BIO_READ 111
-# define BIO_F_BIO_SET 143
# define BIO_F_BIO_SOCKET 140
# define BIO_F_BIO_SOCKET_NBIO 142
# define BIO_F_BIO_SOCK_INFO 141