summaryrefslogtreecommitdiffstats
path: root/net/socket/ssl_client_socket_mac.cc
diff options
context:
space:
mode:
authormark@chromium.org <mark@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-02-19 18:59:32 +0000
committermark@chromium.org <mark@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-02-19 18:59:32 +0000
commit083d0031696fedc3ac35351c059a3097b6bfa87e (patch)
tree967980aefe8dc4a0bc8b8c75957785a50d92926e /net/socket/ssl_client_socket_mac.cc
parenta2084949c6cfb146be4721f076e43c5f2a32060e (diff)
downloadchromium_src-083d0031696fedc3ac35351c059a3097b6bfa87e.zip
chromium_src-083d0031696fedc3ac35351c059a3097b6bfa87e.tar.gz
chromium_src-083d0031696fedc3ac35351c059a3097b6bfa87e.tar.bz2
Fix SSLSessionOption's name. It's not SSLSetSessionOptionType.
Getting the name right is important if this code is to compile with both the 10.5 SDK (where we define the type) and the 10.6 SDK (where the system defines it). The error was introduced in r39389. BUG=16831 TEST=10.6 SDK build Review URL: http://codereview.chromium.org/651044 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@39467 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/socket/ssl_client_socket_mac.cc')
-rw-r--r--net/socket/ssl_client_socket_mac.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/socket/ssl_client_socket_mac.cc b/net/socket/ssl_client_socket_mac.cc
index c9c2123..ba7d111 100644
--- a/net/socket/ssl_client_socket_mac.cc
+++ b/net/socket/ssl_client_socket_mac.cc
@@ -100,7 +100,7 @@ namespace {
typedef enum {
kSSLSessionOptionBreakOnServerAuth,
kSSLSessionOptionBreakOnCertRequested,
-} SSLSetSessionOptionType;
+} SSLSessionOption;
enum {
errSSLServerAuthCompleted = -9841,
@@ -140,7 +140,7 @@ enum {
#endif
typedef OSStatus (*SSLSetSessionOptionFuncPtr)(SSLContextRef,
- SSLSetSessionOptionType,
+ SSLSessionOption,
Boolean);
// For an explanation of the Mac OS X error codes, please refer to:
// http://developer.apple.com/mac/library/documentation/Security/Reference/secureTransportRef/Reference/reference.html