mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-20 13:33:02 +01:00
Implement PEM writing for CNG implementation
This commit is contained in:
@@ -112,6 +112,11 @@ class OpenSSLRsaKey final : public RsaKey
|
||||
public:
|
||||
EVP_PKEY * GetEvpKey() const { return _evpKey; }
|
||||
|
||||
~OpenSSLRsaKey()
|
||||
{
|
||||
EVP_PKEY_free(_evpKey);
|
||||
}
|
||||
|
||||
void SetPrivate(const std::string_view& pem) override
|
||||
{
|
||||
SetKey(pem, true);
|
||||
|
||||
Reference in New Issue
Block a user