Merge pull request #660 from ejohnstown/win-renegotiation

Enable secure renegotiation by default for Windows library build.
pull/670/head
toddouska 2016-12-15 16:17:15 -08:00 committed by GitHub
commit a9e7c4081f
2 changed files with 3 additions and 1 deletions

View File

@ -30,6 +30,8 @@
#define NO_PSK
#define HAVE_EXTENDED_MASTER
#define WOLFSSL_SNIFFER
#define HAVE_TLS_EXTENSIONS
#define HAVE_SECURE_RENEGOTIATION
#else
/* The servers and clients */
#define OPENSSL_EXTRA

View File

@ -3143,7 +3143,7 @@ static word16 TLSX_SecureRenegotiation_Write(SecureRenegotiation* data,
}
}
output[0] = offset - 1; /* info length - self */
output[0] = (byte)(offset - 1); /* info length - self */
return offset;
}