diff options
Diffstat (limited to 'src/lib/libcrypto/man/EVP_PKEY_decrypt.3')
-rw-r--r-- | src/lib/libcrypto/man/EVP_PKEY_decrypt.3 | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/lib/libcrypto/man/EVP_PKEY_decrypt.3 b/src/lib/libcrypto/man/EVP_PKEY_decrypt.3 index 28c343838d..f8d29fbef2 100644 --- a/src/lib/libcrypto/man/EVP_PKEY_decrypt.3 +++ b/src/lib/libcrypto/man/EVP_PKEY_decrypt.3 | |||
@@ -1,4 +1,6 @@ | |||
1 | .Dd $Mdocdate: November 3 2016 $ | 1 | .\" $OpenBSD: EVP_PKEY_decrypt.3,v 1.2 2016/11/06 15:52:50 jmc Exp $ |
2 | .\" | ||
3 | .Dd $Mdocdate: November 6 2016 $ | ||
2 | .Dt EVP_PKEY_DECRYPT 3 | 4 | .Dt EVP_PKEY_DECRYPT 3 |
3 | .Os | 5 | .Os |
4 | .Sh NAME | 6 | .Sh NAME |
@@ -71,7 +73,7 @@ and | |||
71 | return 1 for success and 0 or a negative value for failure. | 73 | return 1 for success and 0 or a negative value for failure. |
72 | In particular, a return value of -2 indicates the operation is not | 74 | In particular, a return value of -2 indicates the operation is not |
73 | supported by the public key algorithm. | 75 | supported by the public key algorithm. |
74 | .Sh EXAMPLE | 76 | .Sh EXAMPLES |
75 | Decrypt data using OAEP (for RSA keys): | 77 | Decrypt data using OAEP (for RSA keys): |
76 | .Bd -literal | 78 | .Bd -literal |
77 | #include <openssl/evp.h> | 79 | #include <openssl/evp.h> |