mirror of
https://github.com/aria2/aria2.git
synced 2025-01-08 11:01:38 +00:00
gnutls: Use SECURE128 priority keyword
This commit is contained in:
parent
c2ab2f2208
commit
542064c69b
@ -101,7 +101,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_, "NORMAL", &err);
|
||||
rv_ = gnutls_priority_set_direct(sslSession_, "SECURE128", &err);
|
||||
if(rv_ != GNUTLS_E_SUCCESS) {
|
||||
return TLS_ERR_ERROR;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user