diff options
author | Richard Levitte <levitte@openssl.org> | 2020-01-12 01:05:01 +0100 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2020-01-15 01:21:10 +0100 |
commit | 56c59ddd99da05c2f30832cccaffb873a8481555 (patch) | |
tree | 00a7e2d7dbfd64ab58e09ac2290e86ce58ae4a82 /doc | |
parent | 902a97b5869e29175292324ec7c390401c453452 (diff) |
Fix documentation of return value for EVP_Digest{Sign,Verify}Init()
They never returned the negative values that the documentation stated.
Reviewed-by: Paul Dale <paul.dale@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/10847)
Diffstat (limited to 'doc')
-rw-r--r-- | doc/man3/EVP_DigestSignInit.pod | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/doc/man3/EVP_DigestSignInit.pod b/doc/man3/EVP_DigestSignInit.pod index b2b70bfce6..cd159815de 100644 --- a/doc/man3/EVP_DigestSignInit.pod +++ b/doc/man3/EVP_DigestSignInit.pod @@ -103,9 +103,7 @@ EVP_DigestSignFinal(). =head1 RETURN VALUES EVP_DigestSignInit(), EVP_DigestSignUpdate(), EVP_DigestSignaFinal() and -EVP_DigestSign() return 1 for success and 0 or a negative value for failure. In -particular, a return value of -2 indicates the operation is not supported by the -public key algorithm. +EVP_DigestSign() return 1 for success and 0 for failure. The error codes can be obtained from L<ERR_get_error(3)>. |