1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-06-03 22:48:03 +02:00

w32: Silence a compiler warning in dirmngr.c

--
This commit is contained in:
Werner Koch 2021-03-15 09:38:03 +01:00
parent 8d6123faa8
commit 683ff00bb1
No known key found for this signature in database
GPG Key ID: E3FDFF218E45B72B

View File

@ -572,11 +572,11 @@ load_certs_from_w32_store (const char *storename)
} }
pCertOpenSystemStore = (CERTOPENSYSTEMSTORE) pCertOpenSystemStore = (CERTOPENSYSTEMSTORE)
GetProcAddress (hCrypt32, "CertOpenSystemStoreA"); (void*)GetProcAddress (hCrypt32, "CertOpenSystemStoreA");
pCertEnumCertificatesInStore = (CERTENUMCERTIFICATESINSTORE) pCertEnumCertificatesInStore = (CERTENUMCERTIFICATESINSTORE)
GetProcAddress (hCrypt32, "CertEnumCertificatesInStore"); (void*)GetProcAddress (hCrypt32, "CertEnumCertificatesInStore");
pCertCloseStore = (CERTCLOSESTORE) pCertCloseStore = (CERTCLOSESTORE)
GetProcAddress (hCrypt32, "CertCloseStore"); (void*)GetProcAddress (hCrypt32, "CertCloseStore");
if ( !pCertOpenSystemStore if ( !pCertOpenSystemStore
|| !pCertEnumCertificatesInStore || !pCertEnumCertificatesInStore
|| !pCertCloseStore) || !pCertCloseStore)