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
5
CHANGES
5
CHANGES
|
@ -14,6 +14,11 @@ Corrections:
|
||||||
configure now checks for the variant.
|
configure now checks for the variant.
|
||||||
Thanks to Robert Zybeck for reporting this issue.
|
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:
|
Porting:
|
||||||
Again porting Socat to AIX (7.1) - Fixed configure and compile issues:
|
Again porting Socat to AIX (7.1) - Fixed configure and compile issues:
|
||||||
Adapted include requirements for IPv6
|
Adapted include requirements for IPv6
|
||||||
|
|
|
@ -226,7 +226,7 @@ static int
|
||||||
bool opt_ver = true; /* verify peer certificate */
|
bool opt_ver = true; /* verify peer certificate */
|
||||||
char *opt_cert = NULL; /* file name of client certificate */
|
char *opt_cert = NULL; /* file name of client certificate */
|
||||||
const char *opt_commonname = NULL; /* for checking peer 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 */
|
const char *opt_snihost = NULL; /* for SNI host */
|
||||||
int result;
|
int result;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue