瀏覽代碼

gnutls: Allow SIGN-RSA-SHA1 for compatibility reason

Tatsuhiro Tsujikawa 10 年之前
父節點
當前提交
dd277b33af
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/LibgnutlsTLSSession.cc

+ 1 - 1
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";