blob: dcaebe0ae1d67982fdd48436491d5a3ff0676bc0 [file] [log] [blame]
// Copyright 2019 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.
#ifndef PLATFORM_BASE_TLS_CONNECT_OPTIONS_H_
#define PLATFORM_BASE_TLS_CONNECT_OPTIONS_H_
#include "platform/base/macros.h"
namespace openscreen {
struct TlsConnectOptions {
// This option allows TLS connections to devices without
// a known hostname, and will typically be “true” for cast code.
// For example, the cast_socket always sets true.
bool unsafely_skip_certificate_validation;
};
} // namespace openscreen
#endif // PLATFORM_BASE_TLS_CONNECT_OPTIONS_H_