mirror of https://github.com/wolfSSL/wolfssl.git
make sure stdio.h can be swtiched off if not available
parent
3bff6f10e3
commit
cc16a543dd
|
@ -38,8 +38,6 @@
|
|||
#else
|
||||
#include <nio.h>
|
||||
#endif
|
||||
#else
|
||||
#include <stdio.h> /* ERR_printf */
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
@ -681,6 +679,7 @@ enum {
|
|||
#if !defined(NO_FILESYSTEM) && !defined(NO_STDIO_FILESYSTEM)
|
||||
/* wolfSSL extension, provide last error from SSL_get_error
|
||||
since not using thread storage error queue */
|
||||
#include <stdio.h>
|
||||
WOLFSSL_API void wolfSSL_ERR_print_errors_fp(FILE*, int err);
|
||||
#endif
|
||||
|
||||
|
|
|
@ -224,9 +224,9 @@ WOLFSSL_API int wolfCrypt_Init(void);
|
|||
#define XBADFILE NULL
|
||||
#else
|
||||
/* stdio, default case */
|
||||
#include <stdio.h>
|
||||
#define XFILE FILE*
|
||||
#if defined(WOLFSSL_MDK_ARM)
|
||||
#include <stdio.h>
|
||||
extern FILE * wolfSSL_fopen(const char *name, const char *mode) ;
|
||||
#define XFOPEN wolfSSL_fopen
|
||||
#else
|
||||
|
|
Loading…
Reference in New Issue