diff options
author | wtc@chromium.org <wtc@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-06-11 02:02:22 +0000 |
---|---|---|
committer | wtc@chromium.org <wtc@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-06-11 02:02:22 +0000 |
commit | e0da37dfb035ba050fbc0d7f83a205bab9493e22 (patch) | |
tree | 68ee9de464d0b6d779fb615d80c058030d7e474a /chrome/common | |
parent | f658af8bb836debbac7ca687634792d9dc6b9f87 (diff) | |
download | chromium_src-e0da37dfb035ba050fbc0d7f83a205bab9493e22.zip chromium_src-e0da37dfb035ba050fbc0d7f83a205bab9493e22.tar.gz chromium_src-e0da37dfb035ba050fbc0d7f83a205bab9493e22.tar.bz2 |
Use NSS for SSL by default on Mac OS X.
To use Mac OS X Secure Transport in Chromium, specify the --use-system-ssl
command-line switch, which also replaced the --use-schannel command-line
switch for Windows. All other programs are hardcoded to use NSS for SSL.
If SSL client authentication is requested, fall back on Mac OS X Secure
Transport for now.
R=mark,mbelshe
BUG=30689
TEST=none
Review URL: http://codereview.chromium.org/2747002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49489 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common')
-rw-r--r-- | chrome/common/chrome_switches.cc | 11 | ||||
-rw-r--r-- | chrome/common/chrome_switches.h | 5 |
2 files changed, 6 insertions, 10 deletions
diff --git a/chrome/common/chrome_switches.cc b/chrome/common/chrome_switches.cc index a4a2ca4..557c1c1 100644 --- a/chrome/common/chrome_switches.cc +++ b/chrome/common/chrome_switches.cc @@ -913,9 +913,10 @@ const char kStartupManifest[] = "startup-manifest"; const char kVertScrollDelta[] = "vert-scroll-delta"; #endif -#if defined(OS_WIN) -// Use SChannel (the system SSL library on Windows) instead of NSS for SSL. -const char kUseSChannel[] = "use-schannel"; +#if defined(OS_MACOSX) || defined(OS_WIN) +// Use the system SSL library (Secure Transport on Mac, SChannel on Windows) +// instead of NSS for SSL. +const char kUseSystemSSL[] = "use-system-ssl"; #endif #if defined(OS_POSIX) @@ -940,10 +941,6 @@ const char kEnableSandboxLogging[] = "enable-sandbox-logging"; // Temporary flag to prevent Flash from negotiating the Core Animation drawing // model. This will be removed once the last issues have been resolved. const char kDisableFlashCoreAnimation[] = "disable-flash-core-animation"; - -// Use NSS instead of the system SSL library for SSL. -// This is a temporary testing flag. -const char kUseNSSForSSL[] = "use-nss-for-ssl"; #else // Enable Kiosk mode. const char kKioskMode[] = "kiosk"; diff --git a/chrome/common/chrome_switches.h b/chrome/common/chrome_switches.h index c0e3d3e..fb4b5d1 100644 --- a/chrome/common/chrome_switches.h +++ b/chrome/common/chrome_switches.h @@ -264,8 +264,8 @@ extern const char kStartupManifest[]; extern const char kVertScrollDelta[]; #endif -#if defined(OS_WIN) -extern const char kUseSChannel[]; +#if defined(OS_MACOSX) || defined(OS_WIN) +extern const char kUseSystemSSL[]; #endif #if defined(OS_POSIX) @@ -276,7 +276,6 @@ extern const char kNoProcessSingletonDialog[]; #if defined(OS_MACOSX) extern const char kDisableFlashCoreAnimation[]; extern const char kEnableSandboxLogging[]; -extern const char kUseNSSForSSL[]; #else extern const char kKioskMode[]; #endif |