mirror of https://github.com/aria2/aria2
LibgnuTLSSession: Disable SSLv3
parent
71d8424318
commit
6d3bd60905
|
@ -107,7 +107,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;
|
||||
rv_ = gnutls_priority_set_direct(sslSession_, "SECURE128", &err);
|
||||
rv_ = gnutls_priority_set_direct(sslSession_, "SECURE128:-VERS-SSL3.0", &err);
|
||||
if(rv_ != GNUTLS_E_SUCCESS) {
|
||||
return TLS_ERR_ERROR;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue