mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-29 18:27:29 +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 */
|
||||
if (fileRet != WC_READDIR_NOFILE) {
|
||||
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 */
|
||||
else if (successCount == 0 || failCount > 0) {
|
||||
|
Reference in New Issue
Block a user