Bug in gnutls_pubkey_verify_data() API documentation ?
Quan Nguyen
quann1 at uci.edu
Sat Mar 17 06:18:25 CET 2012
In the API documentation, it says gnutls_pubkey_verify_data(): "On
success, %GNUTLS_E_SUCCESS (0) is returned". However, looking at the
source code in gnutls_pubkey.c, we see that this function calls
pubkey_verify_data(), which returns 1 on success :"verifies the signature
data, and returns GNUTLS_E_PK_SIG_VERIFY_FAILED if not verified, or 1
otherwise."
Quan Nguyen
More information about the Gnutls-devel
mailing list