Fix from review

This commit is contained in:
Eric Blankenhorn
2020-02-05 10:10:17 -06:00
parent 3eee891cf5
commit 922b308029
3 changed files with 4 additions and 4 deletions

View File

@ -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

View File

@ -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
*/

View File

@ -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 <stdarg.h> /* var_arg */
WOLFSSL_API int wolfSSL_BIO_vprintf(WOLFSSL_BIO* bio, const char* format,
va_list args);