diff options
Diffstat (limited to 'net-analyzer/echoping/files')
-rw-r--r-- | net-analyzer/echoping/files/echoping-6.0.2_p434-gnutls_certificate_type_set_priority.patch | 11 | ||||
-rw-r--r-- | net-analyzer/echoping/files/echoping-6.0.2_p434-gnutls_session.patch | 22 |
2 files changed, 33 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); diff --git a/net-analyzer/echoping/files/echoping-6.0.2_p434-gnutls_session.patch b/net-analyzer/echoping/files/echoping-6.0.2_p434-gnutls_session.patch new file mode 100644 index 000000000000..8b87c47c7892 --- /dev/null +++ b/net-analyzer/echoping/files/echoping-6.0.2_p434-gnutls_session.patch @@ -0,0 +1,22 @@ +--- a/echoping.c ++++ b/echoping.c +@@ -134,7 +134,7 @@ + SSL *sslh = NULL; + #endif + #ifdef GNUTLS +- gnutls_session session; ++ gnutls_session_t session; + gnutls_certificate_credentials xcred; + int tls_result; + const int cert_type_priority[3] = { GNUTLS_CRT_X509, +--- a/echoping.h ++++ b/echoping.h +@@ -103,7 +103,7 @@ + SSL *ssl; + #endif + #ifdef GNUTLS +- gnutls_session tls; ++ gnutls_session_t tls; + #endif + } CHANNEL; + |