rem: unsigned char nonce[33];
add: char nonce[33];
context: int check_cred(cred_t* _cred, str* _method, char* _ha1){	HASHHEX resp;	HASHHEX hent;	char* qop;	unsigned char nonce[33];#ifdef PARANOID	if ((!_cred) || (!_ha1) || (!_method)) {		LOG(L_ERR, "check_cred(): Invalid parameter value\n");		return -1;	}#endif		     /* We always send algorithm=MD5 and qop=auth, so we can	      * hardwire these values here, if th client uses a	      * different algorithm and qop, it will simply not	      * authorize him	      */	//	DigestCalcHA1("md5", _cred->username.s, _cred->realm.s, _a1, _cred->nonce.s, _cred->cnonce.s, HA1);        switch(_cred->qop) {	case QOP_AUTH:		qop = "auth";		break;	case QOP_AUTH_INT:		qop = "auth-int";		break;	default:		qop = "";		break;	}			calc_nonce(_cred->realm.s, nonce);	DigestCalcResponse(_ha1, nonce, _cred->nonce_count.s, _cred->cnonce.s, qop, _method->s,			   _cred->uri.s, hent, resp);	DBG("check_cred(): Our result = %s\n", resp);	if (!memcmp(resp, _cred->response.s, 32)) {		DBG("check_cred(): Authorization is OK\n");		return 1;	} else {		DBG("check_cred(): Authorization failed\n");		return -1;	}}