forked from wolfSSL/wolfssl
Fixes for multi-test pass. Breaks from PR #4807.
This commit is contained in:
@ -5330,11 +5330,15 @@ int AddCA(WOLFSSL_CERT_MANAGER* cm, DerBuffer** pDer, int type, int verify)
|
||||
#error CLIENT_SESSION_ROWS too big
|
||||
#endif
|
||||
|
||||
typedef struct ClientSession {
|
||||
struct ClientSession {
|
||||
word16 serverRow; /* SessionCache Row id */
|
||||
word16 serverIdx; /* SessionCache Idx (column) */
|
||||
word32 sessionIDHash;
|
||||
} ClientSession;
|
||||
};
|
||||
#ifndef WOLFSSL_CLIENT_SESSION_DEFINED
|
||||
typedef struct ClientSession ClientSession;
|
||||
#define WOLFSSL_CLIENT_SESSION_DEFINED
|
||||
#endif
|
||||
|
||||
typedef struct ClientRow {
|
||||
int nextIdx; /* where to place next one */
|
||||
|
@ -1691,7 +1691,10 @@ typedef WOLFSSL_BUFFER_INFO buffer;
|
||||
typedef struct Suites Suites;
|
||||
|
||||
/* Declare opaque struct for API to use */
|
||||
typedef struct ClientSession ClientSession;
|
||||
#ifndef WOLFSSL_CLIENT_SESSION_DEFINED
|
||||
typedef struct ClientSession ClientSession;
|
||||
#define WOLFSSL_CLIENT_SESSION_DEFINED
|
||||
#endif
|
||||
|
||||
/* defaults to client */
|
||||
WOLFSSL_LOCAL void InitSSL_Method(WOLFSSL_METHOD* method, ProtocolVersion pv);
|
||||
|
Reference in New Issue
Block a user