mirror of
https://github.com/facebook/sapling.git
synced 2024-10-08 07:49:11 +03:00
d5a0a0d063
Summary: Eden's on C++17 so fully cross the rubicon! Reviewed By: strager Differential Revision: D10496796 fbshipit-source-id: 3b0b8e10a93830c0e76dbc5baf95cf69a1f080af
26 lines
676 B
C++
26 lines
676 B
C++
/*
|
|
* Copyright (c) 2018-present, Facebook, Inc.
|
|
* All rights reserved.
|
|
*
|
|
* This source code is licensed under the BSD-style license found in the
|
|
* LICENSE file in the root directory of this source tree. An additional grant
|
|
* of patent rights can be found in the PATENTS file in the same directory.
|
|
*
|
|
*/
|
|
#pragma once
|
|
|
|
#include <folly/io/async/SSLContext.h>
|
|
#include <optional>
|
|
|
|
#include "eden/fs/utils/PathFuncs.h"
|
|
|
|
namespace facebook {
|
|
namespace eden {
|
|
/**
|
|
* Create a folly::SSLcontext with client certificate
|
|
*/
|
|
std::shared_ptr<folly::SSLContext> buildSSLContext(
|
|
std::optional<AbsolutePath> clientCertificate);
|
|
} // namespace eden
|
|
} // namespace facebook
|