Use case insensitive compare for servername.
PR#3445
(cherry picked from commit 1c3e9a7c67
)
This commit is contained in:
parent
00579b98c4
commit
ea0ceb11a0
1 changed files with 1 additions and 1 deletions
|
@ -745,7 +745,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)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue