/*
- * $Id: rfc2617.c,v 1.1 2001/01/31 22:16:37 hno Exp $
+ * $Id: rfc2617.c,v 1.2 2001/02/01 18:49:06 hno Exp $
*
* DEBUG:
* AUTHOR: RFC 2617 & Robert Collins
MD5Update(&Md5Ctx, pszPassword, strlen(pszPassword));
MD5Final(HA1, &Md5Ctx);
}
- if (stricmp(pszAlg, "md5-sess") == 0) {
+ if (strcasecmp(pszAlg, "md5-sess") == 0) {
MD5Init(&Md5Ctx);
MD5Update(&Md5Ctx, HA1, HASHLEN);
MD5Update(&Md5Ctx, ":", 1);
MD5Update(&Md5Ctx, pszMethod, strlen(pszMethod));
MD5Update(&Md5Ctx, ":", 1);
MD5Update(&Md5Ctx, pszDigestUri, strlen(pszDigestUri));
- if (stricmp(pszQop, "auth-int") == 0) {
+ if (strcasecmp(pszQop, "auth-int") == 0) {
MD5Update(&Md5Ctx, ":", 1);
MD5Update(&Md5Ctx, HEntity, HASHHEXLEN);
};