mirror of
https://github.com/yuzu-emu/yuzu-mainline.git
synced 2024-12-12 18:24:17 +01:00
re-format
This commit is contained in:
parent
ac939f08a4
commit
cd4b8f037c
@ -18,8 +18,8 @@ namespace {
|
|||||||
// the headers define an enum containing Network and Service as enumerators
|
// the headers define an enum containing Network and Service as enumerators
|
||||||
// (which clash with the correspondingly named namespaces).
|
// (which clash with the correspondingly named namespaces).
|
||||||
#define SECURITY_WIN32
|
#define SECURITY_WIN32
|
||||||
#include <security.h>
|
|
||||||
#include <schnlsp.h>
|
#include <schnlsp.h>
|
||||||
|
#include <security.h>
|
||||||
|
|
||||||
std::once_flag one_time_init_flag;
|
std::once_flag one_time_init_flag;
|
||||||
bool one_time_init_success = false;
|
bool one_time_init_success = false;
|
||||||
@ -29,7 +29,8 @@ CredHandle cred_handle;
|
|||||||
|
|
||||||
static void OneTimeInit() {
|
static void OneTimeInit() {
|
||||||
schannel_cred.dwVersion = SCHANNEL_CRED_VERSION;
|
schannel_cred.dwVersion = SCHANNEL_CRED_VERSION;
|
||||||
schannel_cred.dwFlags = SCH_USE_STRONG_CRYPTO | // don't allow insecure protocols
|
schannel_cred.dwFlags =
|
||||||
|
SCH_USE_STRONG_CRYPTO | // don't allow insecure protocols
|
||||||
SCH_CRED_AUTO_CRED_VALIDATION | // validate certs
|
SCH_CRED_AUTO_CRED_VALIDATION | // validate certs
|
||||||
SCH_CRED_NO_DEFAULT_CREDS; // don't automatically present a client certificate
|
SCH_CRED_NO_DEFAULT_CREDS; // don't automatically present a client certificate
|
||||||
// ^ I'm assuming that nobody would want to connect Yuzu to a
|
// ^ I'm assuming that nobody would want to connect Yuzu to a
|
||||||
|
Loading…
Reference in New Issue
Block a user