mirror of https://github.com/aria2/aria2
gnutls: Allow SIGN-RSA-SHA1 for compatibility reason
parent
377eb0699f
commit
dd277b33af
|
@ -127,7 +127,7 @@ int GnuTLSSession::init(sock_t sockfd)
|
||||||
// It seems err is not error message, but the argument string
|
// It seems err is not error message, but the argument string
|
||||||
// which causes syntax error.
|
// which causes syntax error.
|
||||||
const char* err;
|
const char* err;
|
||||||
std::string pri = "SECURE128";
|
std::string pri = "SECURE128:+SIGN-RSA-SHA1";
|
||||||
switch(tlsContext_->getMinTLSVersion()) {
|
switch(tlsContext_->getMinTLSVersion()) {
|
||||||
case TLS_PROTO_TLS12:
|
case TLS_PROTO_TLS12:
|
||||||
pri += ":-VERS-TLS1.1";
|
pri += ":-VERS-TLS1.1";
|
||||||
|
|
Loading…
Reference in New Issue