mirror of
https://github.com/rkd77/elinks.git
synced 2024-11-03 08:07:17 -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,
|
match_uri_host_ip(const unsigned char *uri_host,
|
||||||
ASN1_OCTET_STRING *cert_host_asn1)
|
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;
|
struct in_addr uri_host_in;
|
||||||
#ifdef CONFIG_IPV6
|
#ifdef CONFIG_IPV6
|
||||||
struct in6_addr uri_host_in6;
|
struct in6_addr uri_host_in6;
|
||||||
|
Loading…
Reference in New Issue
Block a user