mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-30 02:37:28 +02:00
Fixes for multi-test pass. Breaks from PR #4807.
This commit is contained in:
@ -6843,7 +6843,7 @@ AS_CASE(["$CFLAGS $CPPFLAGS"],[*'WOLFSSL_TRUST_PEER_CERT'*],[ENABLED_TRUSTED_PEE
|
||||
|
||||
|
||||
AS_CASE(["$CFLAGS $CPPFLAGS $AM_CFLAGS"],[*'OPENSSL_COMPATIBLE_DEFAULTS'*],
|
||||
[ENABLED_OPENSSL_COMPATIBLE_DEFAULTS=yes])
|
||||
[ENABLED_OPENSSL_COMPATIBLE_DEFAULTS=yes])
|
||||
if test "x$ENABLED_OPENSSL_COMPATIBLE_DEFAULTS" = "xyes"
|
||||
then
|
||||
AM_CFLAGS="$AM_CFLAGS -DWOLFSSL_TRUST_PEER_CERT"
|
||||
|
@ -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