Fixed type of sk_* macro.

This commit is contained in:
Armin Novak 2019-08-22 10:40:25 +02:00
parent 55fdffa7a2
commit 2778cbce8c
1 changed files with 2 additions and 2 deletions

View File

@ -1258,10 +1258,10 @@ static BOOL tls_extract_pem(CryptoCert cert, BYTE** PublicKey, DWORD* PublicKeyL
if (cert->px509chain)
{
count = sk_BIO_num(cert->px509chain);
count = sk_X509_num(cert->px509chain);
for (x=0; x<count; x++)
{
X509* c = sk_BIO_value(cert->px509chain, x);
X509* c = sk_X509_value(cert->px509chain, x);
status = PEM_write_bio_X509(bio, c);
if (status < 0)
{