Skip to content

Commit

Permalink
gnutls: Use SECURE128 priority keyword
Browse files Browse the repository at this point in the history
  • Loading branch information
tatsuhiro-t committed Jan 13, 2014
1 parent c2ab2f2 commit 542064c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/LibgnutlsTLSSession.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 542064c

Please sign in to comment.