Merge pull request #5539 from akallabeth/ssl_warning_fix

Fixed type of sk_* macro.
This commit is contained in:
Martin Fleisz 2019-08-22 11:13:30 +02:00 committed by GitHub
commit c3a124b0e2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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)
{