diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2014-07-14 23:59:13 +0100 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2014-07-15 00:00:14 +0100 |
commit | df35da266d8a2a06308622117d2ed49786318a48 (patch) | |
tree | d58ccdf057ec2c0ad8769ffa9c9847beea422e9e /apps | |
parent | 26d60e29e36653477caffa69e942aeb9780a30b5 (diff) |
Use case insensitive compare for servername.
PR#3445
(cherry picked from commit 1c3e9a7c67ccdc5e770829fe951e5832e600d377)
Diffstat (limited to 'apps')
-rw-r--r-- | apps/s_server.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/s_server.c b/apps/s_server.c index 4854b69f9d..ef62f017cb 100644 --- a/apps/s_server.c +++ b/apps/s_server.c @@ -676,7 +676,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) { |