diff options
Diffstat (limited to 'deskutils/fusenshi')
-rw-r--r-- | deskutils/fusenshi/Makefile | 2 | ||||
-rw-r--r-- | deskutils/fusenshi/files/patch-src_net_fusenshisslclientsocket.cpp | 20 | ||||
-rw-r--r-- | deskutils/fusenshi/files/patch-src_net_fusenshisslserversocket.cpp | 22 |
3 files changed, 43 insertions, 1 deletions
diff --git a/deskutils/fusenshi/Makefile b/deskutils/fusenshi/Makefile index c484a40a3d85..f761cca8d746 100644 --- a/deskutils/fusenshi/Makefile +++ b/deskutils/fusenshi/Makefile @@ -3,7 +3,7 @@ PORTNAME= fusenshi PORTVERSION= 0.9.0 -PORTREVISION= 13 +PORTREVISION= 14 CATEGORIES= deskutils MASTER_SITES= http://www.ongs.co.jp/projects/fusenshi/ diff --git a/deskutils/fusenshi/files/patch-src_net_fusenshisslclientsocket.cpp b/deskutils/fusenshi/files/patch-src_net_fusenshisslclientsocket.cpp new file mode 100644 index 000000000000..bbfa80624d3a --- /dev/null +++ b/deskutils/fusenshi/files/patch-src_net_fusenshisslclientsocket.cpp @@ -0,0 +1,20 @@ +--- src/net/fusenshisslclientsocket.cpp.orig 2007-04-02 10:44:52 UTC ++++ src/net/fusenshisslclientsocket.cpp +@@ -52,9 +52,6 @@ bool FusenshiSSLClientSocket::connect(un + { + // 通信を暗号化しますが、ホストの証明は行いません。 + int ret; +- const int cert_priority[] = { +- GNUTLS_CRT_X509, 0 +- }; + + if (NULL != m_session) close(); + +@@ -64,7 +61,6 @@ bool FusenshiSSLClientSocket::connect(un + + gnutls_init(&m_session, GNUTLS_CLIENT); + gnutls_set_default_priority(m_session); +- gnutls_certificate_type_set_priority(m_session, cert_priority); + + gnutls_credentials_set(m_session, GNUTLS_CRD_CERTIFICATE, cert); + diff --git a/deskutils/fusenshi/files/patch-src_net_fusenshisslserversocket.cpp b/deskutils/fusenshi/files/patch-src_net_fusenshisslserversocket.cpp new file mode 100644 index 000000000000..0445869b673a --- /dev/null +++ b/deskutils/fusenshi/files/patch-src_net_fusenshisslserversocket.cpp @@ -0,0 +1,22 @@ +--- src/net/fusenshisslserversocket.cpp.orig 2007-04-02 10:44:52 UTC ++++ src/net/fusenshisslserversocket.cpp +@@ -56,9 +56,6 @@ public: + bool sslAccept(int sock) + { + int ret; +- const int cert_priority[] = { +- GNUTLS_CRT_X509, 0 +- }; + + m_socket = sock; + +@@ -69,8 +66,7 @@ public: + if (!cert) return false; + + gnutls_init(&m_session, GNUTLS_SERVER); +- gnutls_set_default_export_priority(m_session); +- gnutls_certificate_type_set_priority(m_session, cert_priority); ++ gnutls_set_default_priority(m_session); + + gnutls_credentials_set(m_session, GNUTLS_CRD_CERTIFICATE, cert); + gnutls_certificate_server_set_request(m_session, GNUTLS_CERT_REQUIRE); |