Use case insensitive compare for servername.
PR#3445
This commit is contained in:
parent
7efd0e777e
commit
1c3e9a7c67
@ -740,7 +740,7 @@ static int MS_CALLBACK ssl_servername_cb(SSL *s, int *ad, void *arg)
|
|||||||
|
|
||||||
if (servername)
|
if (servername)
|
||||||
{
|
{
|
||||||
if (strcmp(servername,p->servername))
|
if (strcasecmp(servername,p->servername))
|
||||||
return p->extension_error;
|
return p->extension_error;
|
||||||
if (ctx2)
|
if (ctx2)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user