LibgnuTLSSession: Disable SSLv3

pull/311/head
Tatsuhiro Tsujikawa 2014-11-29 20:00:46 +09:00
parent 71d8424318
commit 6d3bd60905
1 changed files with 1 additions and 1 deletions

View File

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