diff options
Diffstat (limited to 'deskutils/fusenshi/files/patch-src_net_fusenshisslclientsocket.cpp')
-rw-r--r-- | deskutils/fusenshi/files/patch-src_net_fusenshisslclientsocket.cpp | 20 |
1 files changed, 20 insertions, 0 deletions
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 0000000..bbfa806 --- /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); + |