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:
John Safranek 2016-09-12 09:42:42 -07:00
parent b994244011
commit c1136a30e9
2 changed files with 4 additions and 1 deletions

View File

@ -28,6 +28,7 @@
#define WOLFSSL_RIPEMD
#define WOLFSSL_SHA512
#define NO_PSK
#define HAVE_EXTENDED_MASTER
#define WOLFSSL_SNIFFER
#else
/* The servers and clients */

View File

@ -16164,7 +16164,9 @@ int DoSessionTicket(WOLFSSL* ssl, const byte* input, word32* inOutIdx,
c16toa(HELLO_EXT_EXTMS, output + idx);
idx += HELLO_EXT_TYPE_SZ;
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