Index: webrtc/pc/test/fakertccertificategenerator.h |
diff --git a/webrtc/pc/test/fakertccertificategenerator.h b/webrtc/pc/test/fakertccertificategenerator.h |
index 39b910744841b0cdb6699005b486652b64d1bfab..7b4737831301794ade4f8493029adb1b3fe41c1f 100644 |
--- a/webrtc/pc/test/fakertccertificategenerator.h |
+++ b/webrtc/pc/test/fakertccertificategenerator.h |
@@ -151,12 +151,12 @@ class FakeRTCCertificateGenerator |
if (should_fail_) { |
msg_id = MSG_FAILURE; |
} else if (key_params.type() == rtc::KT_RSA) { |
- RTC_DCHECK(key_params.rsa_params().mod_size == 1024 && |
- key_params.rsa_params().pub_exp == 0x10001); |
+ RTC_DCHECK_EQ(key_params.rsa_params().mod_size, 1024); |
+ RTC_DCHECK_EQ(key_params.rsa_params().pub_exp, 0x10001); |
msg_id = MSG_SUCCESS_RSA; |
} else { |
- RTC_DCHECK(key_params.type() == rtc::KT_ECDSA && |
- key_params.ec_curve() == rtc::EC_NIST_P256); |
+ RTC_DCHECK_EQ(key_params.type(), rtc::KT_ECDSA); |
+ RTC_DCHECK_EQ(key_params.ec_curve(), rtc::EC_NIST_P256); |
msg_id = MSG_SUCCESS_ECDSA; |
} |
rtc::Thread::Current()->Post(RTC_FROM_HERE, this, msg_id, msg); |