[crypto,common] remove unused function

This commit is contained in:
akallabeth 2023-02-06 16:29:21 +01:00 committed by akallabeth
parent 55b0af1993
commit e43b4bc091
2 changed files with 0 additions and 10 deletions

View File

@ -81,14 +81,6 @@ BOOL read_bignum(BYTE** dst, UINT32* length, const BIGNUM* num, BOOL alloc)
return TRUE;
}
BIO* bio_from_pem(const char* pem)
{
if (!pem)
return NULL;
return BIO_new_mem_buf((const void*)pem, strlen(pem));
}
BOOL cert_info_create(rdpCertInfo* dst, const BIGNUM* rsa, const BIGNUM* rsa_e)
{
const rdpCertInfo empty = { 0 };

View File

@ -42,8 +42,6 @@ extern "C"
FREERDP_LOCAL BOOL read_bignum(BYTE** dst, UINT32* length, const BIGNUM* num, BOOL alloc);
FREERDP_LOCAL BIO* bio_from_pem(const char* pem);
FREERDP_LOCAL X509* x509_from_rsa(const RSA* rsa);
#ifdef __cplusplus