summaryrefslogtreecommitdiffstats
path: root/net/socket/ssl_error_params.h
diff options
context:
space:
mode:
authordavidben <davidben@chromium.org>2014-08-27 10:05:51 -0700
committerCommit bot <commit-bot@chromium.org>2014-08-27 17:09:07 +0000
commita4409c633c6a0ffe91df8098705f99dbec4c4f5f (patch)
treede301d2bc337f5869f3522922ce7cf9940308676 /net/socket/ssl_error_params.h
parenta6b8cdd9f6fd34fb8db30b0e54dc1ebb7ea697f2 (diff)
downloadchromium_src-a4409c633c6a0ffe91df8098705f99dbec4c4f5f.zip
chromium_src-a4409c633c6a0ffe91df8098705f99dbec4c4f5f.tar.gz
chromium_src-a4409c633c6a0ffe91df8098705f99dbec4c4f5f.tar.bz2
Include better OpenSSL error information in NetLog.
The 'ssl_lib_error' value reported is rather uninteresting. OpenSSL is has two levels of errors. The one we were logging is almost always 1. Make the error callback SSL-implementation-specific and include the library code, reason code, file name, and line number, all of which OpenSSL already tracks. BUG=286480 Review URL: https://codereview.chromium.org/494913002 Cr-Commit-Position: refs/heads/master@{#292173}
Diffstat (limited to 'net/socket/ssl_error_params.h')
-rw-r--r--net/socket/ssl_error_params.h18
1 files changed, 0 insertions, 18 deletions
diff --git a/net/socket/ssl_error_params.h b/net/socket/ssl_error_params.h
deleted file mode 100644
index 07a1c4d9..0000000
--- a/net/socket/ssl_error_params.h
+++ /dev/null
@@ -1,18 +0,0 @@
-// Copyright (c) 2012 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef NET_SOCKET_SSL_ERROR_PARAMS_H_
-#define NET_SOCKET_SSL_ERROR_PARAMS_H_
-
-#include "net/base/net_log.h"
-
-namespace net {
-
-// Creates NetLog callback for when we receive an SSL error.
-NetLog::ParametersCallback CreateNetLogSSLErrorCallback(int net_error,
- int ssl_lib_error);
-
-} // namespace net
-
-#endif // NET_SOCKET_SSL_ERROR_PARAMS_H_