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

Side by Side Diff: runtime/bin/root_certificates_unsupported.cc

Issue 2346683003: Use OS-provided trusted root certs on Linux (Closed)
Patch Set: Address comments Created 4 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 | « runtime/bin/main.cc ('k') | runtime/bin/secure_socket_boringssl.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 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 #if !defined(DART_IO_DISABLED) && !defined(DART_IO_SECURE_SOCKET_DISABLED) 5 #if !defined(DART_IO_DISABLED) && !defined(DART_IO_SECURE_SOCKET_DISABLED)
6 6
7 #include "platform/globals.h" 7 #include "platform/globals.h"
8 #if defined(TARGET_OS_MACOS) || defined(TARGET_OS_ANDROID) 8 #if defined(TARGET_OS_MACOS) || \
9 defined(TARGET_OS_ANDROID) || \
10 defined(DART_IO_ROOT_CERTS_DISABLED)
9 11
10 namespace dart { 12 namespace dart {
11 namespace bin { 13 namespace bin {
12 14
13 const unsigned char* root_certificates_pem = NULL; 15 const unsigned char* root_certificates_pem = NULL;
14 unsigned int root_certificates_pem_length = 0; 16 unsigned int root_certificates_pem_length = 0;
15 17
16 } // namespace bin 18 } // namespace bin
17 } // namespace dart 19 } // namespace dart
18 20
19 #endif // defined(TARGET_OS_MACOS) || defined(TARGET_OS_ANDROID) 21 #endif // defined(TARGET_OS_MACOS) || defined(TARGET_OS_ANDROID) || ...
20 22
21 #endif // !defined(DART_IO_DISABLED) && 23 #endif // !defined(DART_IO_DISABLED) &&
22 // !defined(DART_IO_SECURE_SOCKET_DISABLED) 24 // !defined(DART_IO_SECURE_SOCKET_DISABLED)
OLDNEW
« no previous file with comments | « runtime/bin/main.cc ('k') | runtime/bin/secure_socket_boringssl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698