From dd277b33af2a5a58c39142097c3ede5df7f5655d Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Sun, 21 Jun 2015 15:16:15 +0900 Subject: [PATCH] gnutls: Allow SIGN-RSA-SHA1 for compatibility reason --- src/LibgnutlsTLSSession.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/LibgnutlsTLSSession.cc b/src/LibgnutlsTLSSession.cc index ab3daf25..81f3720b 100644 --- a/src/LibgnutlsTLSSession.cc +++ b/src/LibgnutlsTLSSession.cc @@ -127,7 +127,7 @@ int GnuTLSSession::init(sock_t sockfd) // It seems err is not error message, but the argument string // which causes syntax error. const char* err; - std::string pri = "SECURE128"; + std::string pri = "SECURE128:+SIGN-RSA-SHA1"; switch(tlsContext_->getMinTLSVersion()) { case TLS_PROTO_TLS12: pri += ":-VERS-TLS1.1";