fix -Wunused-macros
This commit is contained in:
parent
c4fd159860
commit
9c5ee66c8c
@ -1615,13 +1615,8 @@ int AddCA(CYASSL_CERT_MANAGER* cm, buffer der, int type, int verify)
|
||||
|
||||
static ClientRow ClientCache[SESSION_ROWS]; /* Client Cache */
|
||||
/* uses session mutex */
|
||||
|
||||
#endif /* NO_CLIENT_CACHE */
|
||||
|
||||
/* for persistance, if changes to layout need to increment and modify
|
||||
save_session_cache() and restore_session_cache and memory versions too */
|
||||
#define CYASSL_CACHE_VERSION 2
|
||||
|
||||
#endif /* NO_SESSION_CACHE */
|
||||
|
||||
|
||||
@ -3455,6 +3450,10 @@ int CyaSSL_SetServerID(CYASSL* ssl, const byte* id, int len, int newSession)
|
||||
|
||||
#if defined(PERSIST_SESSION_CACHE)
|
||||
|
||||
/* for persistance, if changes to layout need to increment and modify
|
||||
save_session_cache() and restore_session_cache and memory versions too */
|
||||
#define CYASSL_CACHE_VERSION 2
|
||||
|
||||
/* Session Cache Header information */
|
||||
typedef struct {
|
||||
int version; /* cache layout version id */
|
||||
|
@ -36,7 +36,9 @@
|
||||
#define MAX_COMMAND_SZ 240
|
||||
#define MAX_SUITE_SZ 80
|
||||
#define NOT_BUILT_IN -123
|
||||
#define VERSION_TOO_OLD -124
|
||||
#ifdef NO_OLD_TLS
|
||||
#define VERSION_TOO_OLD -124
|
||||
#endif
|
||||
|
||||
#include "examples/client/client.h"
|
||||
#include "examples/server/server.h"
|
||||
|
Loading…
Reference in New Issue
Block a user