[gnutls-devel] GnuTLS | System key usability issue (#1365)
Read-only notification of GnuTLS library development activities
gnutls-devel at lists.gnutls.org
Wed May 18 22:02:28 CEST 2022
juxeii commented:
@bwickman97 In the first patched version we have in the log
`gnutls[3]: ASSERT: ../../lib/system/keys-win.c[_gnutls_privkey_import_system_url]:866`
This indicates to me that the call `r = pNCryptOpenStorageProvider(&sctx, kpi->pwszProvName, 0);` in line 861 has been successful.
And then in line 864, the call `ret = privkey_import_ncrypt(pkey, url, priv, kpi, &sctx);` happened.
The call for the CAPI version only happened with the second patched version from @dwmw2, in which the call to `pNCryptOpenStorageProvider` is disabled.
What does then `if (ret < 0)` mean? Success or failure?
--
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/-/issues/1365#note_951809258
You're receiving this email because of your account on gitlab.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gnupg.org/pipermail/gnutls-devel/attachments/20220518/79fb98b8/attachment.html>
More information about the Gnutls-devel
mailing list