make check case-insensitive

This commit is contained in:
Christian Grothoff 2021-12-01 17:56:47 +01:00
parent 7373bbc5c8
commit 170402203a
No known key found for this signature in database
GPG Key ID: 939E6BE1E29FC3CC

View File

@ -42,10 +42,10 @@ TALER_mhd_is_https (struct MHD_Connection *connection)
if (NULL != forwarded_proto)
{
if (0 == strcmp (forwarded_proto,
if (0 == strcasecmp (forwarded_proto,
"https"))
return GNUNET_YES;
if (0 == strcmp (forwarded_proto,
if (0 == strcasecmp (forwarded_proto,
"http"))
return GNUNET_NO;
GNUNET_break (0);