ASN1_STRING_length() is deprecated. --- mutt_ssl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/mutt_ssl.c b/mutt_ssl.c index 9a390343..8c3bb404 100644 --- a/mutt_ssl.c +++ b/mutt_ssl.c @@ -48,7 +48,7 @@ /* Starting OpenSSL v4, the ASN1_STRING type is now opaque */ #if (defined(OPENSSL_VERSION_NUMBER) && OPENSSL_VERSION_NUMBER >= 0x40000000L) - #define mutt_get_asn1_string_length(str) ASN1_STRING_length((str)) + #define mutt_get_asn1_string_length(str) ASN1_STRING_get_length((str)) #define mutt_get_asn1_string_data(str) ASN1_STRING_get0_data((str)) #else #define mutt_get_asn1_string_length(str) (str)->length -- 2.56.1
