mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-30 10:47:28 +02:00
Merge pull request #7435 from SparkiDev/ssl_misc_fixup
ssl_misc.c: wolfssl_file_len() protection
This commit is contained in:
@ -208,9 +208,7 @@ static int wolfssl_read_bio(WOLFSSL_BIO* bio, char** data, int* dataSz,
|
|||||||
#endif /* OPENSSL_EXTRA && !WOLFCRYPT_ONLY */
|
#endif /* OPENSSL_EXTRA && !WOLFCRYPT_ONLY */
|
||||||
|
|
||||||
#if (defined(OPENSSL_EXTRA) || defined(PERSIST_CERT_CACHE) || \
|
#if (defined(OPENSSL_EXTRA) || defined(PERSIST_CERT_CACHE) || \
|
||||||
(!defined(NO_CERTS) && (!defined(NO_WOLFSSL_CLIENT) || \
|
!defined(NO_CERTS)) && !defined(WOLFCRYPT_ONLY) && !defined(NO_FILESYSTEM)
|
||||||
!defined(WOLFSSL_NO_CLIENT_AUTH)))) && !defined(WOLFCRYPT_ONLY) && \
|
|
||||||
!defined(NO_FILESYSTEM)
|
|
||||||
/* Read all the data from a file.
|
/* Read all the data from a file.
|
||||||
*
|
*
|
||||||
* @param [in] fp File pointer to read with.
|
* @param [in] fp File pointer to read with.
|
||||||
|
Reference in New Issue
Block a user