Commit ce5c7499 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

- Fix segfault when TLS handshake fails (introduced in previous commit)

parent 1c672a3d
......@@ -2033,6 +2033,7 @@ static void httpd_ClientTlsHsIn( httpd_client_t *cl )
case -1:
cl->i_state = HTTPD_CLIENT_DEAD;
cl->p_tls = NULL;
break;
case 2:
......@@ -2050,6 +2051,7 @@ static void httpd_ClientTlsHsOut( httpd_client_t *cl )
case -1:
cl->i_state = HTTPD_CLIENT_DEAD;
cl->p_tls = NULL;
break;
case 1:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment