gnutls-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Bug in gnutls_pubkey_verify_data() API documentation ?


From: Quan Nguyen
Subject: Bug in gnutls_pubkey_verify_data() API documentation ?
Date: Fri, 16 Mar 2012 22:18:25 -0700
User-agent: SquirrelMail/1.4.22

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]