Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1017)

Side by Side Diff: webrtc/base/sslconfig.h

Issue 1313233005: purge nss files and dependencies (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « webrtc/base/ssladapter.cc ('k') | webrtc/base/sslidentity.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright 2012 The WebRTC Project Authors. All rights reserved. 2 * Copyright 2012 The WebRTC Project Authors. All rights reserved.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license 4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source 5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found 6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may 7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree. 8 * be found in the AUTHORS file in the root of the source tree.
9 */ 9 */
10 10
11 #ifndef WEBRTC_BASE_SSLCONFIG_H_ 11 #ifndef WEBRTC_BASE_SSLCONFIG_H_
12 #define WEBRTC_BASE_SSLCONFIG_H_ 12 #define WEBRTC_BASE_SSLCONFIG_H_
13 13
14 // If no preference has been indicated, default to SChannel on Windows and 14 // If no preference has been indicated, default to SChannel on Windows and
15 // OpenSSL everywhere else, if it is available. 15 // OpenSSL everywhere else, if it is available.
16 #if !defined(SSL_USE_SCHANNEL) && !defined(SSL_USE_OPENSSL) && \ 16 #if !defined(SSL_USE_SCHANNEL) && !defined(SSL_USE_OPENSSL)
17 !defined(SSL_USE_NSS)
18 #if defined(WEBRTC_WIN) 17 #if defined(WEBRTC_WIN)
19 18
20 #define SSL_USE_SCHANNEL 1 19 #define SSL_USE_SCHANNEL 1
21 20
22 #else // defined(WEBRTC_WIN) 21 #else // defined(WEBRTC_WIN)
23 22
24 #if defined(HAVE_OPENSSL_SSL_H) 23 #if defined(HAVE_OPENSSL_SSL_H)
25 #define SSL_USE_OPENSSL 1 24 #define SSL_USE_OPENSSL 1
26 #elif defined(HAVE_NSS_SSL_H)
27 #define SSL_USE_NSS 1
28 #endif 25 #endif
29 26
30 #endif // !defined(WEBRTC_WIN) 27 #endif // !defined(WEBRTC_WIN)
31 #endif 28 #endif
32 29
33 #endif // WEBRTC_BASE_SSLCONFIG_H_ 30 #endif // WEBRTC_BASE_SSLCONFIG_H_
OLDNEW
« no previous file with comments | « webrtc/base/ssladapter.cc ('k') | webrtc/base/sslidentity.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698