Make libfetch buildable.
This commit is contained in:
parent
8eec4954fb
commit
3fd49fe2d4
@ -674,7 +674,11 @@ fetch_ssl_verify_altname(STACK_OF(GENERAL_NAME) *altnames,
|
||||
#else
|
||||
name = sk_GENERAL_NAME_value(altnames, i);
|
||||
#endif
|
||||
#if OPENSSL_VERSION_NUMBER < 0x10100000L
|
||||
ns = (const char *)ASN1_STRING_data(name->d.ia5);
|
||||
#else
|
||||
ns = (const char *)ASN1_STRING_get0_data(name->d.ia5);
|
||||
#endif
|
||||
nslen = (size_t)ASN1_STRING_length(name->d.ia5);
|
||||
|
||||
if (name->type == GEN_DNS && ip == NULL &&
|
||||
|
Loading…
Reference in New Issue
Block a user