diff options
author | agl@chromium.org <agl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-17 00:40:12 +0000 |
---|---|---|
committer | agl@chromium.org <agl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-17 00:40:12 +0000 |
commit | 7e52ed73dfdf67c9abee365e5fc95bbc65dd1167 (patch) | |
tree | a23e39e11956ad8276cd5e0a7d7aa8ae39d3e582 /net/socket/ssl_client_socket_nss.cc | |
parent | 3697e9d56b2fc863506524c4515aa380335755d6 (diff) | |
download | chromium_src-7e52ed73dfdf67c9abee365e5fc95bbc65dd1167.zip chromium_src-7e52ed73dfdf67c9abee365e5fc95bbc65dd1167.tar.gz chromium_src-7e52ed73dfdf67c9abee365e5fc95bbc65dd1167.tar.bz2 |
Linux: enable building with a local version of libssl.
http://codereview.chromium.org/394003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@32135 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/socket/ssl_client_socket_nss.cc')
-rw-r--r-- | net/socket/ssl_client_socket_nss.cc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/net/socket/ssl_client_socket_nss.cc b/net/socket/ssl_client_socket_nss.cc index 6aa0e88..bc13d2a 100644 --- a/net/socket/ssl_client_socket_nss.cc +++ b/net/socket/ssl_client_socket_nss.cc @@ -356,6 +356,12 @@ int SSLClientSocketNSS::InitializeSSLOptions() { #error "You need to install NSS-3.12 or later to build chromium" #endif +#ifdef SSL_ENABLE_DEFLATE + rv = SSL_OptionSet(nss_fd_, SSL_ENABLE_DEFLATE, PR_TRUE); + if (rv != SECSuccess) + LOG(INFO) << "SSL_ENABLE_DEFLATE failed. Old system nss?"; +#endif + rv = SSL_OptionSet(nss_fd_, SSL_HANDSHAKE_AS_CLIENT, PR_TRUE); if (rv != SECSuccess) return ERR_UNEXPECTED; |