From c71e37aa6c7d2ad379a37768b6599cd7904c2f9e Mon Sep 17 00:00:00 2001 From: "Dr. Stephen Henson" Date: Mon, 14 Jul 2014 23:59:13 +0100 Subject: [PATCH] Use case insensitive compare for servername. PR#3445 (cherry picked from commit 1c3e9a7c67ccdc5e770829fe951e5832e600d377) --- apps/s_server.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/s_server.c b/apps/s_server.c index 911c360d3e..a399f5978f 100644 --- a/apps/s_server.c +++ b/apps/s_server.c @@ -767,7 +767,7 @@ static int MS_CALLBACK ssl_servername_cb(SSL *s, int *ad, void *arg) if (servername) { - if (strcmp(servername,p->servername)) + if (strcasecmp(servername,p->servername)) return p->extension_error; if (ctx2) { -- 2.25.1