[cryto,cert] clean up code

This commit is contained in:
akallabeth 2023-02-06 16:29:37 +01:00 committed by Martin Fleisz
parent a2b23a83ab
commit 8b95030f5e

View File

@ -285,6 +285,7 @@ static BOOL is_rsa_key(const X509* x509)
static BOOL blob_is_rsa_key(const rdpCertBlob* cert) static BOOL blob_is_rsa_key(const rdpCertBlob* cert)
{ {
WINPR_ASSERT(cert);
const BYTE* inData = cert->data; const BYTE* inData = cert->data;
X509* x509 = d2i_X509(NULL, &inData, cert->length); X509* x509 = d2i_X509(NULL, &inData, cert->length);
if (!x509) if (!x509)