projects
/
oweals
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update docs.
[oweals/openssl.git]
/
doc
/
crypto
/
EVP_PKEY_encrypt.pod
diff --git
a/doc/crypto/EVP_PKEY_encrypt.pod
b/doc/crypto/EVP_PKEY_encrypt.pod
index 72673aa8b42da6c6fadde875b3642ae00226eb92..6d91039f45bf7d2cd9a95d83b39e536ae9c1aa45 100644
(file)
--- a/
doc/crypto/EVP_PKEY_encrypt.pod
+++ b/
doc/crypto/EVP_PKEY_encrypt.pod
@@
-38,7
+38,8
@@
context if several operations are performed using the same parameters.
=head1 RETURN VALUES
EVP_PKEY_encrypt_init() and EVP_PKEY_encrypt() return 1 for success and 0
=head1 RETURN VALUES
EVP_PKEY_encrypt_init() and EVP_PKEY_encrypt() return 1 for success and 0
-or a negative value for failure.
+or a negative value for failure. In particular a return value of -2
+indicates the operation is not supported by the public key algorithm.
=head1 EXAMPLE
=head1 EXAMPLE