mirror of https://github.com/FreeRDP/FreeRDP
Fixed type of sk_* macro.
This commit is contained in:
parent
55fdffa7a2
commit
2778cbce8c
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue