Index: crypto/openssl_util.cc |
diff --git a/crypto/openssl_util.cc b/crypto/openssl_util.cc |
index 0d044c76d4f5460f7209e07a6abb98ba5a99400b..65be615a50519dbaf317746bc76a2faa1110cb5b 100644 |
--- a/crypto/openssl_util.cc |
+++ b/crypto/openssl_util.cc |
@@ -40,7 +40,7 @@ void EnsureOpenSSLInit() { |
} |
void ClearOpenSSLERRStack(const tracked_objects::Location& location) { |
- if (logging::DEBUG_MODE && VLOG_IS_ON(1)) { |
+ if (DCHECK_IS_ON() && VLOG_IS_ON(1)) { |
uint32_t error_num = ERR_peek_error(); |
if (error_num == 0) |
return; |