summaryrefslogtreecommitdiff
path: root/net-analyzer/echoping/files/echoping-6.0.2_p434-gnutls_certificate_type_set_priority.patch
diff options
context:
space:
mode:
Diffstat (limited to 'net-analyzer/echoping/files/echoping-6.0.2_p434-gnutls_certificate_type_set_priority.patch')
-rw-r--r--net-analyzer/echoping/files/echoping-6.0.2_p434-gnutls_certificate_type_set_priority.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/net-analyzer/echoping/files/echoping-6.0.2_p434-gnutls_certificate_type_set_priority.patch b/net-analyzer/echoping/files/echoping-6.0.2_p434-gnutls_certificate_type_set_priority.patch
new file mode 100644
index 000000000000..0cb219f254cb
--- /dev/null
+++ b/net-analyzer/echoping/files/echoping-6.0.2_p434-gnutls_certificate_type_set_priority.patch
@@ -0,0 +1,11 @@
+--- a/echoping.c
++++ b/echoping.c
+@@ -981,8 +981,6 @@
+ if (tls_result != 0)
+ err_sys("Cannot create a new TLS session");
+ gnutls_set_default_priority(session);
+- gnutls_certificate_type_set_priority(session,
+- cert_type_priority);
+ gnutls_credentials_set(session, GNUTLS_CRD_CERTIFICATE, xcred);
+ gnutls_transport_set_ptr(session, (gnutls_transport_ptr)
+ (long) sockfd);