Explorar o código

gnutls: Use SECURE128 priority keyword

Tatsuhiro Tsujikawa %!s(int64=11) %!d(string=hai) anos
pai
achega
542064c69b
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/LibgnutlsTLSSession.cc

+ 1 - 1
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;
   }