| Index: base/openssl_util.cc
|
| diff --git a/base/openssl_util.cc b/base/openssl_util.cc
|
| index 894c710ad830496a53c19cbf5c5f077a74d30154..1cbc304ed485374d9103d1077540c6a362b02794 100644
|
| --- a/base/openssl_util.cc
|
| +++ b/base/openssl_util.cc
|
| @@ -67,13 +67,15 @@ void EnsureOpenSSLInit() {
|
| (void)Singleton<OpenSSLInitSingleton>::get();
|
| }
|
|
|
| -void ClearOpenSSLERRStack() {
|
| +void ClearOpenSSLERRStack(const tracked_objects::Location& location) {
|
| if (logging::DEBUG_MODE && VLOG_IS_ON(1)) {
|
| int error_num = ERR_get_error();
|
| if (error_num == 0)
|
| return;
|
|
|
| - DVLOG(1) << "OpenSSL ERR_get_error stack:";
|
| + std::string message;
|
| + location.Write(true, true, &message);
|
| + DVLOG(1) << "OpenSSL ERR_get_error stack from " << message;
|
| char buf[140];
|
| do {
|
| ERR_error_string_n(error_num, buf, arraysize(buf));
|
|
|