gnutls: Use SECURE128 priority keyword

This commit is contained in:
Tatsuhiro Tsujikawa 2014-01-08 23:11:56 +09:00
parent c2ab2f2208
commit 542064c69b

View File

@ -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;
}