summaryrefslogtreecommitdiffstats
path: root/doc
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 /doc
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 'doc')
-rw-r--r--doc/crypto/BIO_meth_new.pod2
-rw-r--r--doc/crypto/BIO_new.pod9
2 files changed, 7 insertions, 4 deletions
diff --git a/doc/crypto/BIO_meth_new.pod b/doc/crypto/BIO_meth_new.pod
index 2c2db6f578..65e48cb24f 100644
--- a/doc/crypto/BIO_meth_new.pod
+++ b/doc/crypto/BIO_meth_new.pod
@@ -88,7 +88,7 @@ BIO_ctrl().
BIO_meth_get_create() and BIO_meth_set_create() get and set the function used
for creating a new instance of the BIO respectively. This function will be
-called in response to the application calling BIO_new() or BIO_set() and passing
+called in response to the application calling BIO_new() and passing
in a pointer to the current BIO_METHOD. The BIO_new() function will allocate the
memory for the new BIO, and a pointer to this newly allocated structure will
be passed as a parameter to the function.
diff --git a/doc/crypto/BIO_new.pod b/doc/crypto/BIO_new.pod
index 226f13feef..006cf5925c 100644
--- a/doc/crypto/BIO_new.pod
+++ b/doc/crypto/BIO_new.pod
@@ -2,7 +2,8 @@
=head1 NAME
-BIO_new, BIO_set, BIO_up_ref, BIO_free, BIO_vfree, BIO_free_all - BIO allocation and freeing functions
+BIO_new, BIO_up_ref, BIO_free, BIO_vfree, BIO_free_all,
+BIO_set - BIO allocation and freeing functions
=head1 SYNOPSIS
@@ -19,8 +20,6 @@ BIO_new, BIO_set, BIO_up_ref, BIO_free, BIO_vfree, BIO_free_all - BIO allocation
The BIO_new() function returns a new BIO using method B<type>.
-BIO_set() sets the method of an already existing BIO.
-
BIO_up_ref() increments the reference count associated with the BIO object.
BIO_free() frees up a single BIO, BIO_vfree() also frees up a single BIO
@@ -51,6 +50,10 @@ in a memory leak.
Calling BIO_free_all() on a single BIO has the same effect as calling BIO_free()
on it other than the discarded return value.
+=head1 HISTORY
+
+BIO_set() was removed in OpenSSL 1.1.0 as BIO type is now opaque.
+
=head1 EXAMPLE
Create a memory BIO: