summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2019-03-01 16:02:04 +0100
committerDaniel Stenberg <daniel@haxx.se>2019-03-01 22:17:42 +0100
commitd7e71634225c37ff1981f347b2a357e97809066d (patch)
tree62de015ef8874529a9471e71beb1caa831a12038
parent8754ddb85daf0d4eeae985b1ba954745b6f360fd (diff)
downloadcurl-bagder/gnutls-deprecated.tar.gz
gnutls: remove call to deprecated gnutls_compression_get_namebagder/gnutls-deprecated
It has been deprecated by GnuTLS since a year ago and now causes build warnings. Ref: https://gitlab.com/gnutls/gnutls/commit/b0041897d2846737f5fb0f Docs: https://www.gnutls.org/manual/html_node/Compatibility-API.html
-rw-r--r--lib/vtls/gtls.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/lib/vtls/gtls.c b/lib/vtls/gtls.c
index 9035ec483..e224861c4 100644
--- a/lib/vtls/gtls.c
+++ b/lib/vtls/gtls.c
@@ -5,7 +5,7 @@
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
- * Copyright (C) 1998 - 2018, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2019, Daniel Stenberg, <daniel@haxx.se>, et al.
*
* This software is licensed as described in the file COPYING, which
* you should have received as part of this distribution. The terms
@@ -1423,11 +1423,6 @@ gtls_connect_step3(struct connectdata *conn,
size = sizeof(certbuf);
gnutls_x509_crt_get_issuer_dn(x509_cert, certbuf, &size);
infof(data, "\t issuer: %s\n", certbuf);
-
- /* compression algorithm (if any) */
- ptr = gnutls_compression_get_name(gnutls_compression_get(session));
- /* the *_get_name() says "NULL" if GNUTLS_COMP_NULL is returned */
- infof(data, "\t compression: %s\n", ptr);
#endif
gnutls_x509_crt_deinit(x509_cert);