s4:lib/http: use strcasecmp(h->key, "WWW-Authenticate") instead of strncasecmp()
authorStefan Metzmacher <metze@samba.org>
Thu, 20 Jul 2017 13:46:38 +0000 (15:46 +0200)
committerAndreas Schneider <asn@cryptomilk.org>
Mon, 7 Aug 2017 13:20:02 +0000 (15:20 +0200)
commitbdece1df9cad4dbe1b41215d21dbcf34bfee1c66
tree83bc5434ac2ab668dd54ed9a86d86f27a534388d
parent56ab5cdbe0bddb3edaf0e7bf82f2c04cea6e64a4
s4:lib/http: use strcasecmp(h->key, "WWW-Authenticate") instead of strncasecmp()

The key is already normalized and should match completely.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
source4/lib/http/http_auth.c