forked from wolfSSL/wolfssl
Fix for building with NO_WOLFSSL_DIR
when compatibility layer is enabled. ZD 10117.
This commit is contained in:
4
src/ssl.c
Normal file → Executable file
4
src/ssl.c
Normal file → Executable file
@ -28430,7 +28430,7 @@ WOLFSSL_API WOLFSSL_EVP_PKEY *wolfSSL_PEM_read_PrivateKey(XFILE fp, WOLFSSL_EVP_
|
|||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if !defined(NO_FILESYSTEM)
|
#if !defined(NO_FILESYSTEM) && !defined(NO_WOLFSSL_DIR)
|
||||||
/* Loads certificate(s) files in pem format into X509_STORE struct from either
|
/* Loads certificate(s) files in pem format into X509_STORE struct from either
|
||||||
* a file or directory.
|
* a file or directory.
|
||||||
* Returns WOLFSSL_SUCCESS on success or WOLFSSL_FAILURE if an error occurs.
|
* Returns WOLFSSL_SUCCESS on success or WOLFSSL_FAILURE if an error occurs.
|
||||||
@ -28530,7 +28530,7 @@ WOLFSSL_API int wolfSSL_X509_STORE_load_locations(WOLFSSL_X509_STORE *str,
|
|||||||
|
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
#endif
|
#endif /* !NO_FILESYSTEM && !NO_WOLFSSL_DIR */
|
||||||
|
|
||||||
#ifndef NO_WOLFSSL_STUB
|
#ifndef NO_WOLFSSL_STUB
|
||||||
/*** TBD ***/
|
/*** TBD ***/
|
||||||
|
Reference in New Issue
Block a user