1
0
Fork 0
mirror of https://repo.or.cz/socat.git synced 2025-07-06 13:06:33 +00:00

The variable for the no-sni option was not initialized

This commit is contained in:
Gerhard Rieger 2021-11-15 08:45:59 +01:00
parent abdf738d1f
commit 22a738d2d0
2 changed files with 7 additions and 2 deletions

View file

@ -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;