forked from wolfSSL/wolfssl
Merge branch 'master' of https://github.com/wolfssl/wolfssl
This commit is contained in:
15
src/ssl.c
15
src/ssl.c
@@ -2349,7 +2349,8 @@ static int wolfssl_decrypt_buffer_key(buffer* der, byte* password,
|
||||
#endif
|
||||
return SSL_FATAL_ERROR;
|
||||
}
|
||||
|
||||
#else
|
||||
(void) passwordSz;
|
||||
#endif /* NO_MD5 */
|
||||
|
||||
#ifndef NO_DES3
|
||||
@@ -2425,7 +2426,8 @@ static int wolfssl_encrypt_buffer_key(byte* der, word32 derSz, byte* password,
|
||||
#endif
|
||||
return SSL_FATAL_ERROR;
|
||||
}
|
||||
|
||||
#else
|
||||
(void) passwordSz;
|
||||
#endif /* NO_MD5 */
|
||||
|
||||
#ifndef NO_DES3
|
||||
@@ -3562,13 +3564,6 @@ int wolfSSL_CTX_SetOCSP_Cb(WOLFSSL_CTX* ctx, CbOCSPIO ioCb,
|
||||
|
||||
#ifndef NO_FILESYSTEM
|
||||
|
||||
#if defined(WOLFSSL_MDK_ARM)
|
||||
extern FILE * wolfSSL_fopen(const char *name, const char *mode) ;
|
||||
#define XFOPEN wolfSSL_fopen
|
||||
#else
|
||||
#define XFOPEN fopen
|
||||
#endif
|
||||
|
||||
/* process a file with name fname into ctx of format and type
|
||||
userChain specifies a user certificate chain to pass during handshake */
|
||||
int ProcessFile(WOLFSSL_CTX* ctx, const char* fname, int format, int type,
|
||||
@@ -7648,7 +7643,7 @@ int wolfSSL_set_compression(WOLFSSL* ssl)
|
||||
|
||||
#ifdef USE_WINDOWS_API
|
||||
#define CloseSocket(s) closesocket(s)
|
||||
#elif defined(WOLFSSL_MDK_ARM)
|
||||
#elif defined(WOLFSSL_MDK_ARM) || defined(WOLFSSL_KEIL_TCP_NET)
|
||||
#define CloseSocket(s) closesocket(s)
|
||||
extern int closesocket(int) ;
|
||||
#else
|
||||
|
||||
Reference in New Issue
Block a user