aboutsummaryrefslogtreecommitdiff
path: root/platform/base/tls_connect_options.h
blob: dcaebe0ae1d67982fdd48436491d5a3ff0676bc0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// 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_