You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
650 B
22 lines
650 B
// 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_
|