Skip to content

Commit ab7358b

Browse files
committed
MEDIUM: ssl: convert diag to warning for strict-sni + default-crt
Previous patch emits a diag warning when both 'strict-sni' + 'default-crt' are used on the same bind line. This patch converts this diagnostic warning to a real warning, so the previous patch could be backported without breaking configurations. This was discussed in #3082.
1 parent 18ebd81 commit ab7358b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ssl_sock.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5048,7 +5048,7 @@ int ssl_sock_prepare_bind_conf(struct bind_conf *bind_conf)
50485048
}
50495049

50505050
if (is_default == CKCH_INST_EXPL_DEFAULT) {
5051-
ha_diag_warning("Proxy '%s': both 'default-crt' and 'strict-sni' keywords are used in bind '%s' at [%s:%d], certificates won't be used as fallback (use 'crt' instead).\n",
5051+
ha_warning("Proxy '%s': both 'default-crt' and 'strict-sni' keywords are used in bind '%s' at [%s:%d], certificates won't be used as fallback (use 'crt' instead).\n",
50525052
px->id, bind_conf->arg, bind_conf->file, bind_conf->line);
50535053
}
50545054

0 commit comments

Comments
 (0)