[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 18:23:56 CEST 2022
David Woodhouse commented:
Hm, I have no idea what's going on there or what `privkey_import_capi()` vs. `privkey_import_ncrypt()` are but let's try this...
```diff
--- lib/system/keys-win.c.orig 2022-05-17 09:04:36.622836058 +0100
+++ lib/system/keys-win.c 2022-05-18 17:21:19.367532552 +0100
@@ -858,8 +858,8 @@ int _gnutls_privkey_import_system_url(gn
goto cleanup;
}
- r = pNCryptOpenStorageProvider(&sctx, kpi->pwszProvName, 0);
- if (!FAILED(r)) { /* if this works carry on with CNG */
+ //r = pNCryptOpenStorageProvider(&sctx, kpi->pwszProvName, 0);
+ if (0 && !FAILED(r)) { /* if this works carry on with CNG */
ret = privkey_import_ncrypt(pkey, url, priv, kpi, &sctx);
if (ret < 0) {
```
* http://david.woodhou.se/libgnutls-30.dll.local_machine-capi d30438ba40040feb01bb5c48c85c0cad81669978fce3615f74176d8337c8fa5c
--
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/-/issues/1365#note_951576931
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/fb07e1f9/attachment.html>
More information about the Gnutls-devel
mailing list