Skip to content

Commit

Permalink
tls_mgm: fix uninitialized variable
Browse files Browse the repository at this point in the history
Fixes Coverity CID #199976

(cherry picked from commit 44abb30)
  • Loading branch information
rvlad-patrascu committed Jul 21, 2020
1 parent 9b7a9b1 commit 2223876
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/tls_mgm/tls_mgm.c
Expand Up @@ -681,7 +681,7 @@ int verify_callback(int pre_verify_ok, X509_STORE_CTX *ctx) {
*/
int ssl_servername_cb(SSL *ssl, int *ad, void *arg)
{
str srvname;
str srvname = {NULL, 0};
struct tls_domain *dom, *new_dom;
struct tcp_connection *c;
str match_no_sni = str_init(MATCH_NO_SNI_VAL);
Expand Down

0 comments on commit 2223876

Please sign in to comment.