File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -175,11 +175,10 @@ _mongoc_openssl_import_cert_stores (SSL_CTX *context)
175
175
CERT_SYSTEM_STORE_CURRENT_USER |
176
176
CERT_STORE_READONLY_FLAG ,
177
177
store );
178
- if (retval ) {
179
- return retval ;
180
- }
181
- return _mongoc_openssl_import_cert_store (
178
+ retval &= _mongoc_openssl_import_cert_store (
182
179
L"CA" , CERT_SYSTEM_STORE_CURRENT_USER | CERT_STORE_READONLY_FLAG , store );
180
+
181
+ return retval ;
183
182
}
184
183
#endif
185
184
@@ -317,7 +316,7 @@ _mongoc_openssl_check_cert (SSL *ssl,
317
316
if (name -> type == target ) {
318
317
const char * check ;
319
318
320
- check = (const char * )ASN1_STRING_get0_data (name -> d .ia5 );
319
+ check = (const char * ) ASN1_STRING_get0_data (name -> d .ia5 );
321
320
length = ASN1_STRING_length (name -> d .ia5 );
322
321
323
322
switch (target ) {
You can’t perform that action at this time.
0 commit comments