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 /net/socket/ssl_client_socket_mac_factory.cc | |
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 'net/socket/ssl_client_socket_mac_factory.cc')
-rw-r--r-- | net/socket/ssl_client_socket_mac_factory.cc | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/net/socket/ssl_client_socket_mac_factory.cc b/net/socket/ssl_client_socket_mac_factory.cc new file mode 100644 index 0000000..f2884e9 --- /dev/null +++ b/net/socket/ssl_client_socket_mac_factory.cc @@ -0,0 +1,18 @@ +// Copyright (c) 2010 The Chromium Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +#include "net/socket/client_socket_factory.h" + +#include "net/socket/ssl_client_socket_mac.h" + +namespace net { + +SSLClientSocket* SSLClientSocketMacFactory( + ClientSocket* transport_socket, + const std::string& hostname, + const SSLConfig& ssl_config) { + return new SSLClientSocketMac(transport_socket, hostname, ssl_config); +} + +} // namespace net |