mirror of
https://github.com/rkd77/elinks.git
synced 2025-02-02 15:09:23 -05:00
[ssl] ASN1_STRING_data is deprecated
This commit is contained in:
parent
903fc4984d
commit
6b9d6c93df
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user