summaryrefslogtreecommitdiffstats
path: root/net/socket
diff options
context:
space:
mode:
authormark@chromium.org <mark@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-02-19 20:05:36 +0000
committermark@chromium.org <mark@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-02-19 20:05:36 +0000
commitd68a04da3be6a4a5db3768f53b2b48735a6ec210 (patch)
treeb65a58895c8f54a08792c2d400ba5fd08f3ada2b /net/socket
parent590e4fa86732108cf77c7ce32c67c92c4515de12 (diff)
downloadchromium_src-d68a04da3be6a4a5db3768f53b2b48735a6ec210.zip
chromium_src-d68a04da3be6a4a5db3768f53b2b48735a6ec210.tar.gz
chromium_src-d68a04da3be6a4a5db3768f53b2b48735a6ec210.tar.bz2
Make dynamic access to SSLSetSessionOption static.
It's not often that you can make something both dynamic and static. BUG=16831 TEST=none Review URL: http://codereview.chromium.org/651055 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@39485 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/socket')
-rw-r--r--net/socket/ssl_client_socket_mac.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/socket/ssl_client_socket_mac.cc b/net/socket/ssl_client_socket_mac.cc
index ba7d111..fd374b7 100644
--- a/net/socket/ssl_client_socket_mac.cc
+++ b/net/socket/ssl_client_socket_mac.cc
@@ -726,7 +726,7 @@ int SSLClientSocketMac::InitializeSSLContext() {
// the session would be cached before we verified the certificate, leaving
// the potential for a session in which the certificate failed to validate
// to still be able to be resumed.
- SSLSetSessionOptionFuncPtr ssl_set_session_options =
+ static SSLSetSessionOptionFuncPtr ssl_set_session_options =
LookupFunction<SSLSetSessionOptionFuncPtr>(CFSTR("com.apple.security"),
CFSTR("SSLSetSessionOption"));
if (ssl_set_session_options) {