diff options
Diffstat (limited to 'lib/libcrypto/man/PKCS12_newpass.3')
-rw-r--r-- | lib/libcrypto/man/PKCS12_newpass.3 | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/lib/libcrypto/man/PKCS12_newpass.3 b/lib/libcrypto/man/PKCS12_newpass.3 index b8e56124eb1..b5642c96ea4 100644 --- a/lib/libcrypto/man/PKCS12_newpass.3 +++ b/lib/libcrypto/man/PKCS12_newpass.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: PKCS12_newpass.3,v 1.3 2019/06/06 01:06:58 schwarze Exp $ +.\" $OpenBSD: PKCS12_newpass.3,v 1.4 2019/06/14 13:59:32 schwarze Exp $ .\" OpenSSL c95a8b4e May 5 14:26:26 2016 +0100 .\" .\" This file was written by Jeffrey Walton <noloader@gmail.com>. @@ -48,7 +48,7 @@ .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED .\" OF THE POSSIBILITY OF SUCH DAMAGE. .\" -.Dd $Mdocdate: June 6 2019 $ +.Dd $Mdocdate: June 14 2019 $ .Dt PKCS12_NEWPASS 3 .Os .Sh NAME @@ -92,12 +92,8 @@ the function will fail with a MAC verification error. In rare cases, the PKCS#12 structure does not contain a MAC: in this case it will usually fail with a decryption padding error. .Sh RETURN VALUES -.Fn PKCS12_newpass -returns 1 on success or 0 on failure. -.Pp -Applications can retrieve the most recent error from -.Fn PKCS12_newpass -with +Upon successful completion, 1 is returned; +otherwise 0 is returned and an error code can be retrieved with .Xr ERR_get_error 3 . .Sh EXAMPLES This example loads a PKCS#12 file, changes its password, @@ -147,7 +143,6 @@ int main(int argc, char **argv) } .Ed .Sh SEE ALSO -.Xr ERR_get_error 3 , .Xr PKCS12_create 3 , .Xr PKCS12_new 3 .Sh HISTORY |