X-Git-Url: https://git.openssl.org/?p=openssl.git;a=blobdiff_plain;f=doc%2Fcrypto%2FEVP_DigestVerifyInit.pod;h=338fc74616cd7247c5fa3734a84047dcef4e11eb;hp=e0217e40cba8d28dc9541d9b796779789d62fed6;hb=8cbb048c3ea416f2bd8a3706d027f3aa26ef08d9;hpb=2dd8cb3b9593f528d9537aa6a003d5c93df1e3c5 diff --git a/doc/crypto/EVP_DigestVerifyInit.pod b/doc/crypto/EVP_DigestVerifyInit.pod index e0217e40cb..338fc74616 100644 --- a/doc/crypto/EVP_DigestVerifyInit.pod +++ b/doc/crypto/EVP_DigestVerifyInit.pod @@ -34,15 +34,15 @@ B of length B. =head1 RETURN VALUES EVP_DigestVerifyInit() and EVP_DigestVerifyUpdate() 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. +for failure. -Unlike other functions the return value 0 from EVP_DigestVerifyFinal() only -indicates that the signature did not verify successfully (that is tbs did -not match the original data or the signature was of invalid form) it is not an -indication of a more serious error. +EVP_DigestVerifyFinal() returns 1 for success; any other value indicates +failure. A return value of zero indicates that the signature did not verify +successfully (that is, tbs did not match the original data or the signature had +an invalid form), while other values indicate a more serious error (and +sometimes also indicate an invalid signature form). -The error codes can be obtained from L. +The error codes can be obtained from L. =head1 NOTES @@ -68,11 +68,11 @@ will occur. =head1 SEE ALSO -L, -L, L, -L, L, L, -L, L, L, -L, L +L, +L, L, +L, L, L, +L, L, L, +L, L =head1 HISTORY