diff options
Diffstat (limited to 'secure/lib/libcrypto/man/RSA_new.3')
-rw-r--r-- | secure/lib/libcrypto/man/RSA_new.3 | 20 |
1 files changed, 13 insertions, 7 deletions
diff --git a/secure/lib/libcrypto/man/RSA_new.3 b/secure/lib/libcrypto/man/RSA_new.3 index 1e2137a540192..7acaf4648323a 100644 --- a/secure/lib/libcrypto/man/RSA_new.3 +++ b/secure/lib/libcrypto/man/RSA_new.3 @@ -128,8 +128,8 @@ .rm #[ #] #H #V #F C .\" ======================================================================== .\" -.IX Title "RSA_new 3" -.TH RSA_new 3 "2018-08-14" "1.0.2p" "OpenSSL" +.IX Title "RSA_NEW 3" +.TH RSA_NEW 3 "2018-09-11" "1.1.1" "OpenSSL" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l @@ -141,7 +141,7 @@ RSA_new, RSA_free \- allocate and free RSA objects .Vb 1 \& #include <openssl/rsa.h> \& -\& RSA * RSA_new(void); +\& RSA *RSA_new(void); \& \& void RSA_free(RSA *rsa); .Ve @@ -152,6 +152,7 @@ calling RSA_new_method(\s-1NULL\s0). .PP \&\fIRSA_free()\fR frees the \fB\s-1RSA\s0\fR structure and its components. The key is erased before the memory is returned to the system. +If \fBrsa\fR is \s-1NULL\s0 nothing is done. .SH "RETURN VALUES" .IX Header "RETURN VALUES" If the allocation fails, \fIRSA_new()\fR returns \fB\s-1NULL\s0\fR and sets an error @@ -161,9 +162,14 @@ a pointer to the newly allocated structure. \&\fIRSA_free()\fR returns no value. .SH "SEE ALSO" .IX Header "SEE ALSO" -\&\fIERR_get_error\fR\|(3), \fIrsa\fR\|(3), +\&\fIERR_get_error\fR\|(3), \&\fIRSA_generate_key\fR\|(3), \&\fIRSA_new_method\fR\|(3) -.SH "HISTORY" -.IX Header "HISTORY" -\&\fIRSA_new()\fR and \fIRSA_free()\fR are available in all versions of SSLeay and OpenSSL. +.SH "COPYRIGHT" +.IX Header "COPYRIGHT" +Copyright 2000\-2016 The OpenSSL Project Authors. All Rights Reserved. +.PP +Licensed under the OpenSSL license (the \*(L"License\*(R"). You may not use +this file except in compliance with the License. You can obtain a copy +in the file \s-1LICENSE\s0 in the source distribution or at +<https://www.openssl.org/source/license.html>. |