mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-19 10:35:50 +00:00
Per XLS-0095, we are taking steps to rename ripple(d) to xrpl(d). This change specifically removes all copyright notices referencing Ripple, XRPLF, and certain affiliated contributors upon mutual agreement, so the notice in the LICENSE.md file applies throughout. Copyright notices referencing external contributions remain as-is. Duplicate verbiage is also removed.
25 lines
618 B
C++
25 lines
618 B
C++
#ifndef XRPL_NET_REGISTER_SSL_CERTS_H_INCLUDED
|
|
#define XRPL_NET_REGISTER_SSL_CERTS_H_INCLUDED
|
|
|
|
#include <xrpl/basics/Log.h>
|
|
|
|
#include <boost/asio/ssl/context.hpp>
|
|
|
|
namespace ripple {
|
|
/** Register default SSL certificates.
|
|
|
|
Register the system default SSL root certificates. On linux/mac,
|
|
this just calls asio's `set_default_verify_paths` to look in standard
|
|
operating system locations. On windows, it uses the OS certificate
|
|
store accessible via CryptoAPI.
|
|
*/
|
|
void
|
|
registerSSLCerts(
|
|
boost::asio::ssl::context&,
|
|
boost::system::error_code&,
|
|
beast::Journal j);
|
|
|
|
} // namespace ripple
|
|
|
|
#endif
|