summaryrefslogtreecommitdiff
path: root/crypto/openssl_util.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/openssl_util.cc')
-rw-r--r--crypto/openssl_util.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/crypto/openssl_util.cc b/crypto/openssl_util.cc
index 78c6cbbb65..2349d42db3 100644
--- a/crypto/openssl_util.cc
+++ b/crypto/openssl_util.cc
@@ -14,6 +14,8 @@
#include <stddef.h>
#include <stdint.h>
+#include <string>
+
#include "base/logging.h"
#include "base/strings/string_piece.h"
@@ -47,7 +49,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;