On 12/08/2010 12:30 AM, Murray S. Kucherawy wrote:

> assert(gnutls_privkey_sign_hash(rsa_key, &dd, &rsa_out == GNUTLS_E_SUCCESS);

Also check the documentation of the functions you are using :)
The sign_hash is low-level and isn't intended to be used like that.
Use gnutls_x509_privkey_sign_data() and gnutls_x509_privkey_verify_data().

regards,
Nikos

_______________________________________________
Help-gnutls mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-gnutls

Reply via email to