Skip to content

Commit 7718510

Browse files
committed
Add a debug message.
1 parent f11d115 commit 7718510

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

src/ssl_api_cert.c

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1542,7 +1542,10 @@ void wolfSSL_CTX_set_cert_store(WOLFSSL_CTX* ctx, WOLFSSL_X509_STORE* str)
15421542
* X509_STORE_add_cert only go into store->certs, not the
15431543
* CertManager. Push them into the CM now so that all
15441544
* verification paths can find them. */
1545-
X509StorePushCertsToCM(str);
1545+
if (X509StorePushCertsToCM(str) != WOLFSSL_SUCCESS) {
1546+
WOLFSSL_MSG("wolfSSL_CTX_set_cert_store: failed to push some "
1547+
"certs to CertManager");
1548+
}
15461549
#endif
15471550
}
15481551
}

0 commit comments

Comments
 (0)