恢复检查dtls证书

This commit is contained in:
ziyue 2021-04-01 14:07:48 +08:00
parent 6a95562dca
commit 9ffa5c2135

View File

@ -1180,13 +1180,8 @@ namespace RTC
"fingerprint in the remote certificate (%s) does not match the announced one (%s)", "fingerprint in the remote certificate (%s) does not match the announced one (%s)",
hexFingerprint, hexFingerprint,
this->remoteFingerprint.value.c_str()); this->remoteFingerprint.value.c_str());
//todo 先屏蔽检查客户端签名
#if 0
X509_free(certificate); X509_free(certificate);
return false; return false;
#endif
} }
MS_DEBUG_TAG(dtls, "valid remote fingerprint"); MS_DEBUG_TAG(dtls, "valid remote fingerprint");