AuroraRuntime/Source/Crypto/CA/AuCA.cpp

30 lines
626 B
C++
Raw Normal View History

/***
Copyright (C) 2021-2024 Jamie Reece Wilson (a/k/a "Reece"). All rights reserved.
File: AuCA.cpp
Date: 2024-10-14
Author: Reece
Date: 2021-6-12
***/
#include <Source/RuntimeInternal.hpp>
namespace Aurora::Crypto::CA
{
AUKN_SYM IPinCertificate *PinCheckDefaultNew()
{
if (gRuntimeConfig.crypto.bPreferSystemCertStoreOverBuiltin)
{
if (auto pOS = PinCheckOSNew())
{
return pOS;
}
}
return PinCheckBuiltinNew();
}
AUKN_SYM void PinCheckDefaultRelease(IPinCertificate *pHandle)
{
}
}