diff options
Diffstat (limited to 'net-libs/loudmouth/files/loudmouth-0.17.2-gnutls_deprecation.patch')
-rw-r--r-- | net-libs/loudmouth/files/loudmouth-0.17.2-gnutls_deprecation.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/net-libs/loudmouth/files/loudmouth-0.17.2-gnutls_deprecation.patch b/net-libs/loudmouth/files/loudmouth-0.17.2-gnutls_deprecation.patch new file mode 100644 index 000000000000..a07c0b07c062 --- /dev/null +++ b/net-libs/loudmouth/files/loudmouth-0.17.2-gnutls_deprecation.patch @@ -0,0 +1,20 @@ +diff -uNr loudmouth-0.17.2/loudmouth/lm-ssl.c loudmouth-0.17.2.patched/loudmouth/lm-ssl.c +--- loudmouth-0.17.2/loudmouth/lm-ssl.c 2004-10-19 09:52:48.000000000 +0200 ++++ loudmouth-0.17.2.patched/loudmouth/lm-ssl.c 2005-02-15 00:20:48.045550968 +0100 +@@ -71,7 +71,6 @@ + } + + if (status & GNUTLS_CERT_INVALID +- || status & GNUTLS_CERT_NOT_TRUSTED + || status & GNUTLS_CERT_REVOKED) { + if (ssl->func (ssl, LM_SSL_STATUS_UNTRUSTED_CERT, + ssl->func_data) != LM_SSL_RESPONSE_CONTINUE) { +@@ -126,7 +125,7 @@ + + gnutls_x509_crt_deinit (cert); + +- if (gnutls_x509_fingerprint (GNUTLS_DIG_MD5, &cert_list[0], ++ if (gnutls_fingerprint (GNUTLS_DIG_MD5, &cert_list[0], + ssl->fingerprint, + &digest_size) >= 0) { + if (ssl->expected_fingerprint && |