diff --git a/src/ssl.c b/src/ssl.c index fbd0c47e4..e537bd88d 100644 --- a/src/ssl.c +++ b/src/ssl.c @@ -28751,7 +28751,7 @@ void wolfSSL_AES_cfb128_encrypt(const unsigned char *in, unsigned char* out, #endif #endif -#ifndef NO_FILESYSTEM +#if !defined(NO_FILESYSTEM) && defined (OPENSSL_EXTRA) /* returns amount printed on success, negative in fail case */ int wolfSSL_BIO_vprintf(WOLFSSL_BIO* bio, const char* format, va_list args) { @@ -28818,7 +28818,7 @@ int wolfSSL_BIO_printf(WOLFSSL_BIO* bio, const char* format, ...) return ret; } -#endif +#endif /* !defined(NO_FILESYSTEM) && defined (OPENSSL_EXTRA) */ #if !defined(NO_FILESYSTEM) && defined(__clang__) #pragma clang diagnostic pop diff --git a/wolfcrypt/src/aes.c b/wolfcrypt/src/aes.c index 0f7bcaa37..b90f9ae30 100644 --- a/wolfcrypt/src/aes.c +++ b/wolfcrypt/src/aes.c @@ -7267,7 +7267,7 @@ int wc_AesEcbDecrypt(Aes* aes, byte* out, const byte* in, word32 sz) * buffer) * in buffer to encrypt * sz size of input buffer - * pre flag to xor after or before feedback. If 1 then add feedback before xor + * mode flag to specify AES mode * * returns 0 on success and negative error values on failure */ diff --git a/wolfssl/ssl.h b/wolfssl/ssl.h index cfa4c1195..867ca7815 100644 --- a/wolfssl/ssl.h +++ b/wolfssl/ssl.h @@ -2009,7 +2009,7 @@ WOLFSSL_API int wolfSSL_want(WOLFSSL*); WOLFSSL_API int wolfSSL_want_read(WOLFSSL*); WOLFSSL_API int wolfSSL_want_write(WOLFSSL*); -#ifndef NO_FILESYSTEM +#if !defined(NO_FILESYSTEM) && defined (OPENSSL_EXTRA) #include /* var_arg */ WOLFSSL_API int wolfSSL_BIO_vprintf(WOLFSSL_BIO* bio, const char* format, va_list args);