forked from wolfSSL/wolfssl
1. Enabled the extended master secret in the Windows IDE user_settings.h
file by default. 2. Fixed scan-build warning about an assignment to a variable that isn't used again in the function. Commented out the line.
This commit is contained in:
@@ -28,6 +28,7 @@
|
|||||||
#define WOLFSSL_RIPEMD
|
#define WOLFSSL_RIPEMD
|
||||||
#define WOLFSSL_SHA512
|
#define WOLFSSL_SHA512
|
||||||
#define NO_PSK
|
#define NO_PSK
|
||||||
|
#define HAVE_EXTENDED_MASTER
|
||||||
#define WOLFSSL_SNIFFER
|
#define WOLFSSL_SNIFFER
|
||||||
#else
|
#else
|
||||||
/* The servers and clients */
|
/* The servers and clients */
|
||||||
|
@@ -16164,7 +16164,9 @@ int DoSessionTicket(WOLFSSL* ssl, const byte* input, word32* inOutIdx,
|
|||||||
c16toa(HELLO_EXT_EXTMS, output + idx);
|
c16toa(HELLO_EXT_EXTMS, output + idx);
|
||||||
idx += HELLO_EXT_TYPE_SZ;
|
idx += HELLO_EXT_TYPE_SZ;
|
||||||
c16toa(0, output + idx);
|
c16toa(0, output + idx);
|
||||||
idx += HELLO_EXT_SZ_SZ;
|
/*idx += HELLO_EXT_SZ_SZ;*/
|
||||||
|
/* idx is not used after this point. uncomment the line above
|
||||||
|
* if adding any more extentions in the future. */
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user