1 // Copyright 2019 The Chromium Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 #ifndef PLATFORM_BASE_TLS_CONNECT_OPTIONS_H_ 6 #define PLATFORM_BASE_TLS_CONNECT_OPTIONS_H_ 7 8 #include "platform/base/macros.h" 9 10 namespace openscreen { 11 12 struct TlsConnectOptions { 13 // This option allows TLS connections to devices without 14 // a known hostname, and will typically be “true” for cast code. 15 // For example, the cast_socket always sets true. 16 bool unsafely_skip_certificate_validation; 17 }; 18 19 } // namespace openscreen 20 21 #endif // PLATFORM_BASE_TLS_CONNECT_OPTIONS_H_ 22