forked from wolfSSL/wolfssl
Merge pull request #2887 from dgarske/nodir
Fix for building with `NO_WOLFSSL_DIR`
This commit is contained in:
4
src/ssl.c
Normal file → Executable file
4
src/ssl.c
Normal file → Executable file
@ -28429,7 +28429,7 @@ WOLFSSL_API WOLFSSL_EVP_PKEY *wolfSSL_PEM_read_PrivateKey(XFILE fp, WOLFSSL_EVP_
|
||||
#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
|
||||
* a file or directory.
|
||||
* Returns WOLFSSL_SUCCESS on success or WOLFSSL_FAILURE if an error occurs.
|
||||
@ -28529,7 +28529,7 @@ WOLFSSL_API int wolfSSL_X509_STORE_load_locations(WOLFSSL_X509_STORE *str,
|
||||
|
||||
return ret;
|
||||
}
|
||||
#endif
|
||||
#endif /* !NO_FILESYSTEM && !NO_WOLFSSL_DIR */
|
||||
|
||||
#ifndef NO_WOLFSSL_STUB
|
||||
/*** TBD ***/
|
||||
|
Reference in New Issue
Block a user