summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorRich Salz <rsalz@akamai.com>2015-11-21 08:27:46 -0500
committerRich Salz <rsalz@openssl.org>2015-11-30 16:10:12 -0500
commitd59c7c81e3850dc667d61047850c3b6936eb5fca (patch)
treec658a298cab7e2dce4d6c8d24c38fabc60ad8010 /doc
parent30c7fea496083d41b809db0041e6dfd3ea9cb858 (diff)
Remove BN_init
Rename it to be an internal function bn_init. Reviewed-by: Tim Hudson <tjh@openssl.org>
Diffstat (limited to 'doc')
-rw-r--r--doc/crypto/BN_new.pod22
1 files changed, 2 insertions, 20 deletions
diff --git a/doc/crypto/BN_new.pod b/doc/crypto/BN_new.pod
index 0629b19d5e..22596dcbb3 100644
--- a/doc/crypto/BN_new.pod
+++ b/doc/crypto/BN_new.pod
@@ -2,7 +2,7 @@
=head1 NAME
-BN_new, BN_init, BN_clear, BN_free, BN_clear_free - allocate and free BIGNUMs
+BN_new, BN_clear, BN_free, BN_clear_free - allocate and free BIGNUMs
=head1 SYNOPSIS
@@ -37,30 +37,12 @@ by L<ERR_get_error(3)>.
BN_clear(), BN_free() and BN_clear_free() have no return values.
-=head1 REMOVED FUNCTIONALITY
-
- void BN_init(BIGNUM *);
-
-BN_init() is no longer available as of OpenSSL 1.1.0. It was used to initialize
-an existing uninitialized B<BIGNUM>. Typically this would be done as follows:
-
- BIGNUM a;
- BN_init(&a);
-
-Applications should replace use of BN_init with BN_new instead:
-
- BIGNUM *a;
- a = BN_new();
- if(!a) /* Handle error */
- ...
- BN_free(a);
-
=head1 SEE ALSO
L<bn(3)>, L<ERR_get_error(3)>
=head1 HISTORY
-BN_init() was removed in OpenSSL 1.1.0.
+BN_init() was removed in OpenSSL 1.1.0; use BN_new() instead.
=cut