summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/man/RSA_new.3
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/man/RSA_new.3')
-rw-r--r--src/lib/libcrypto/man/RSA_new.314
1 files changed, 11 insertions, 3 deletions
diff --git a/src/lib/libcrypto/man/RSA_new.3 b/src/lib/libcrypto/man/RSA_new.3
index 8f0e2c2a5e..7e40c11987 100644
--- a/src/lib/libcrypto/man/RSA_new.3
+++ b/src/lib/libcrypto/man/RSA_new.3
@@ -1,4 +1,4 @@
1.\" $OpenBSD: RSA_new.3,v 1.11 2019/06/06 01:06:59 schwarze Exp $ 1.\" $OpenBSD: RSA_new.3,v 1.12 2019/06/08 09:53:15 schwarze Exp $
2.\" OpenSSL doc/man3/RSA_new.pod 99d63d46 Oct 26 13:56:48 2016 -0400 2.\" OpenSSL doc/man3/RSA_new.pod 99d63d46 Oct 26 13:56:48 2016 -0400
3.\" OpenSSL doc/crypto/rsa.pod 35d2e327 Jun 3 16:19:49 2016 -0400 3.\" OpenSSL doc/crypto/rsa.pod 35d2e327 Jun 3 16:19:49 2016 -0400
4.\" 4.\"
@@ -49,7 +49,7 @@
49.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED 49.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
50.\" OF THE POSSIBILITY OF SUCH DAMAGE. 50.\" OF THE POSSIBILITY OF SUCH DAMAGE.
51.\" 51.\"
52.Dd $Mdocdate: June 6 2019 $ 52.Dd $Mdocdate: June 8 2019 $
53.Dt RSA_NEW 3 53.Dt RSA_NEW 3
54.Os 54.Os
55.Sh NAME 55.Sh NAME
@@ -88,7 +88,15 @@ increments the reference count by 1.
88.Pp 88.Pp
89.Fn RSA_free 89.Fn RSA_free
90decrements the reference count by 1. 90decrements the reference count by 1.
91If it reaches 0, it frees the 91If it reaches 0, it calls the optional
92.Fa finish
93function set up with
94.Xr RSA_meth_set_finish 3 ,
95calls
96.Xr ENGINE_finish 3
97if
98.Fa rsa
99uses an engine, and frees the
92.Vt RSA 100.Vt RSA
93structure and its components. 101structure and its components.
94The key is erased before the memory is returned to the system. 102The key is erased before the memory is returned to the system.