修复Windows下可能编译失败的问题

This commit is contained in:
xiongziliang
2018-11-27 10:48:49 +08:00
parent 62f1476666
commit 858d2996c4
8 changed files with 16 additions and 16 deletions

View File

@@ -444,7 +444,7 @@ void RtspSession::onAuthDigest(const weak_ptr<RtspSession> &weakSelf,const strin
}
auto good_response = MD5( encrypted_pwd + ":" + nonce + ":" + MD5(string("DESCRIBE") + ":" + uri).hexdigest()).hexdigest();
if(strcasecmp(good_response.data(),response.data()) == 0){
if(toolkit::strcasecmp(good_response.data(),response.data()) == 0){
//认证成功md5不区分大小写
onAuthSuccess(weakSelf);
TraceL << "onAuthSuccess";