1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-12-04 14:46:47 -05:00

[gnutls] gnutls_compression_get_name is deprecated.

This commit is contained in:
Witold Filipczyk 2019-11-15 16:13:17 +01:00
parent 7456f785ca
commit 85066d7016

View File

@ -453,13 +453,12 @@ get_ssl_connection_cipher(struct socket *socket)
SSL_get_cipher_name(ssl));
#elif defined(CONFIG_GNUTLS)
/* XXX: How to get other relevant parameters? */
add_format_to_string(&str, "%s - %s - %s - %s - %s (compr: %s)",
add_format_to_string(&str, "%s - %s - %s - %s - %s",
gnutls_protocol_get_name(gnutls_protocol_get_version(*ssl)),
gnutls_kx_get_name(gnutls_kx_get(*ssl)),
gnutls_cipher_get_name(gnutls_cipher_get(*ssl)),
gnutls_mac_get_name(gnutls_mac_get(*ssl)),
gnutls_certificate_type_get_name(gnutls_certificate_type_get(*ssl)),
gnutls_compression_get_name(gnutls_compression_get(*ssl)));
gnutls_certificate_type_get_name(gnutls_certificate_type_get(*ssl)));
#endif
return str.source;