mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-30 10:47:28 +02:00
tell error code
This commit is contained in:
@ -6895,6 +6895,10 @@ int wolfSSL_CTX_load_verify_locations_ex(WOLFSSL_CTX* ctx, const char* file,
|
|||||||
/* pass directory read failure to response code */
|
/* pass directory read failure to response code */
|
||||||
if (fileRet != WC_READDIR_NOFILE) {
|
if (fileRet != WC_READDIR_NOFILE) {
|
||||||
ret = fileRet;
|
ret = fileRet;
|
||||||
|
#if defined(WOLFSSL_QT)
|
||||||
|
/* qssl socket wants to know errors. */
|
||||||
|
WOLFSSL_ERROR(ret);
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
/* report failure if no files were loaded or there were failures */
|
/* report failure if no files were loaded or there were failures */
|
||||||
else if (successCount == 0 || failCount > 0) {
|
else if (successCount == 0 || failCount > 0) {
|
||||||
|
Reference in New Issue
Block a user