From 542064c69b9b6e5c01e0d477f5584efc059d7a76 Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Wed, 8 Jan 2014 23:11:56 +0900 Subject: [PATCH] gnutls: Use SECURE128 priority keyword --- src/LibgnutlsTLSSession.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/LibgnutlsTLSSession.cc b/src/LibgnutlsTLSSession.cc index 21f9549a..61c45503 100644 --- a/src/LibgnutlsTLSSession.cc +++ b/src/LibgnutlsTLSSession.cc @@ -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; }