On Sun, May 21, 2017 at 11:24 PM, Jeremy Harris <[email protected]> wrote:
> Hi,
>
> gnutls_x509_privkey_sign_data() is documented as working with
> an MD5 or SHA1 disgest method:
>
>  
> https://www.gnutls.org/manual/html_node/X509-certificate-API.html#index-gnutls_005fx509_005fprivkey_005fsign_005fdata
>
>
> I've seen code calling it with GNUTLS_DIG_SHA256.

The mention of MD5 or SHA1 as the only option is a leftover from the
time these were the only option. Any hash is allowed as option.

regards,
Nikos

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

Reply via email to