MCPcopy Create free account
hub / github.com/DiscordMessenger/dm / LoadSystemCertsOnWindows

Function LoadSystemCertsOnWindows

src/windows/NetworkerThread.cpp:20–25  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

18constexpr size_t REPORT_PROGRESS_EVERY_BYTES = 15360; // arbitrary
19
20void LoadSystemCertsOnWindows(SSL_CTX* ctx)
21{
22 X509_STORE* store = X509_STORE_new();
23 httplib::detail::load_system_certs_on_windows(store);
24 SSL_CTX_set_cert_store(ctx, store);
25}
26
27extern HWND g_Hwnd;
28

Callers 1

HandleTLSInitMethod · 0.85

Calls 1

Tested by

no test coverage detected