Changeset: d44b3e7f3922 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/d44b3e7f3922
Modified Files:
clients/mapilib/openssl_windows.c
Branch: monetdburl
Log Message:
Revert "Microsoft crypt library seems to always return error at the end"
This reverts commit 06c174e7bbbf18ff4a5c2a0c953cc52b910df2b2.
diffs (16 lines):
diff --git a/clients/mapilib/openssl_windows.c
b/clients/mapilib/openssl_windows.c
--- a/clients/mapilib/openssl_windows.c
+++ b/clients/mapilib/openssl_windows.c
@@ -87,12 +87,6 @@ add_system_certificates(Mapi mid, SSL_CT
DWORD error = GetLastError();
assert(item == NULL);
CertCloseStore(sysstore, 0);
-
- // Microsoft is very unclear about the error conditions,
- // I get the impression we can just ignore them.
- // (For example in their own example code).
- error = 0;
-
switch (error) {
case 0:
case CRYPT_E_NOT_FOUND:
_______________________________________________
checkin-list mailing list -- [email protected]
To unsubscribe send an email to [email protected]