dart-sdk/runtime/bin/root_certificates_unsupported.cc
Ryan Macnak b68351fbc3 [vm] Update NULL to nullptr in runtime/bin.
TEST=build
Change-Id: Ie3be570c274b0275a995a0f54b5e6ccdfc77ccd3
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/292287
Commit-Queue: Ryan Macnak <rmacnak@google.com>
Reviewed-by: Brian Quinlan <bquinlan@google.com>
2023-04-12 01:11:05 +00:00

22 lines
726 B
C++

// Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
#if !defined(DART_IO_SECURE_SOCKET_DISABLED)
#include "platform/globals.h"
#if defined(DART_HOST_OS_MACOS) || defined(DART_HOST_OS_ANDROID) || \
defined(DART_IO_ROOT_CERTS_DISABLED)
namespace dart {
namespace bin {
const unsigned char* root_certificates_pem = nullptr;
unsigned int root_certificates_pem_length = 0;
} // namespace bin
} // namespace dart
#endif // defined(DART_HOST_OS_MACOS) || defined(DART_HOST_OS_ANDROID) || ...
#endif // !defined(DART_IO_SECURE_SOCKET_DISABLED)