mirror of
https://repo.or.cz/socat.git
synced 2024-12-22 23:42:34 +00:00
The variable for the no-sni option was not initialized
This commit is contained in:
parent
abdf738d1f
commit
22a738d2d0
2 changed files with 7 additions and 2 deletions
7
CHANGES
7
CHANGES
|
@ -14,6 +14,11 @@ Corrections:
|
|||
configure now checks for the variant.
|
||||
Thanks to Robert Zybeck for reporting this issue.
|
||||
|
||||
The variable for the no-sni option was not initialized and could thus
|
||||
break OpenSSL certificate verification. E.g., test OPENSSL_SNI on some
|
||||
platform succeeded with -g but failed with -O compiler option.
|
||||
Thanks to valgrind for quickly finding the cause.
|
||||
|
||||
Porting:
|
||||
Again porting Socat to AIX (7.1) - Fixed configure and compile issues:
|
||||
Adapted include requirements for IPv6
|
||||
|
@ -30,7 +35,7 @@ Testing:
|
|||
does not allow fractions of seconds, grep does not understand '\<';
|
||||
OpenIndiana/SunOS netstat format;
|
||||
many more functional and cosmetic code corrections.
|
||||
|
||||
|
||||
####################### V 1.7.4.2:
|
||||
|
||||
Corrections:
|
||||
|
|
|
@ -226,7 +226,7 @@ static int
|
|||
bool opt_ver = true; /* verify peer certificate */
|
||||
char *opt_cert = NULL; /* file name of client certificate */
|
||||
const char *opt_commonname = NULL; /* for checking peer certificate */
|
||||
bool opt_no_sni;
|
||||
bool opt_no_sni = false;
|
||||
const char *opt_snihost = NULL; /* for SNI host */
|
||||
int result;
|
||||
|
||||
|
|
Loading…
Reference in a new issue