Include better OpenSSL error information in NetLog.
commita4409c633c6a0ffe91df8098705f99dbec4c4f5f
authordavidben <davidben@chromium.org>
Wed, 27 Aug 2014 17:05:51 +0000 (27 10:05 -0700)
committerCommit bot <commit-bot@chromium.org>
Wed, 27 Aug 2014 17:09:07 +0000 (27 17:09 +0000)
treede301d2bc337f5869f3522922ce7cf9940308676
parenta6b8cdd9f6fd34fb8db30b0e54dc1ebb7ea697f2
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}
net/net.gypi
net/socket/nss_ssl_util.cc
net/socket/nss_ssl_util.h
net/socket/ssl_client_socket_nss.cc
net/socket/ssl_client_socket_openssl.cc
net/socket/ssl_error_params.cc [deleted file]
net/socket/ssl_error_params.h [deleted file]
net/socket/ssl_server_socket_nss.cc
net/socket/ssl_server_socket_openssl.cc
net/ssl/openssl_ssl_util.cc
net/ssl/openssl_ssl_util.h