[crypto] added evp_pkey private getter
This commit is contained in:
parent
af371bef6a
commit
1397f4c605
@ -299,3 +299,9 @@ RSA* freerdp_key_get_RSA(const rdpPrivateKey* key)
|
||||
|
||||
return evp_pkey_to_rsa(key->evp);
|
||||
}
|
||||
|
||||
EVP_PKEY* freerdp_key_get_evp_pkey(const rdpPrivateKey* key)
|
||||
{
|
||||
WINPR_ASSERT(key);
|
||||
return key->evp;
|
||||
}
|
||||
|
@ -36,6 +36,7 @@ extern "C"
|
||||
FREERDP_LOCAL const BYTE* freerdp_key_get_exponent(const rdpPrivateKey* key, size_t* plength);
|
||||
|
||||
FREERDP_LOCAL RSA* freerdp_key_get_RSA(const rdpPrivateKey* key);
|
||||
FREERDP_LOCAL EVP_PKEY* freerdp_key_get_evp_pkey(const rdpPrivateKey* key);
|
||||
|
||||
FREERDP_LOCAL extern const rdpPrivateKey* priv_key_tssk;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user