upgrade to openssl 1.1.x.

This commit is contained in:
wuhanck
2019-01-24 18:39:07 +08:00
committed by Toyam Cox
parent 0f33859701
commit b4eebafa6d
3 changed files with 20 additions and 13 deletions

View File

@ -895,7 +895,7 @@ fetch_ssl_verify_altname(STACK_OF(GENERAL_NAME) *altnames,
for (i = 0; i < sk_GENERAL_NAME_num(altnames); ++i) {
name = sk_GENERAL_NAME_value(altnames, i);
ns = (const char *)ASN1_STRING_data(name->d.ia5);
ns = (const char *)ASN1_STRING_get0_data(name->d.ia5);
nslen = (size_t)ASN1_STRING_length(name->d.ia5);
if (name->type == GEN_DNS && ip == NULL &&