1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-06-24 00:56:14 +00:00

[ssl] ASN1_STRING_data is deprecated

This commit is contained in:
Witold Filipczyk 2019-11-15 14:24:59 +01:00
parent 903fc4984d
commit 6b9d6c93df

View File

@ -247,7 +247,7 @@ static int
match_uri_host_ip(const unsigned char *uri_host,
ASN1_OCTET_STRING *cert_host_asn1)
{
const unsigned char *cert_host_addr = ASN1_STRING_data(cert_host_asn1);
const unsigned char *cert_host_addr = ASN1_STRING_get0_data(cert_host_asn1);
struct in_addr uri_host_in;
#ifdef CONFIG_IPV6
struct in6_addr uri_host_in6;