From ef57fa373cf6dfbbbc5cf21c144de008681635f4 Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Sun, 22 Jul 2012 03:26:45 +0200 Subject: [PATCH] src/connection.c: Fix error check for gnutls_priority_set(). --- src/connection.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/connection.c b/src/connection.c index 4e98f30..5c7f7ae 100644 --- a/src/connection.c +++ b/src/connection.c @@ -470,7 +470,7 @@ gnutls_certificate_allocate_credentials(): %s", gnutls_certificate_free_credentials(*x509_cred); return -1; } - gnutls_priority_set(*session, global_tls_priority_cache); + result = gnutls_priority_set(*session, global_tls_priority_cache); if (GNUTLS_E_SUCCESS != result) { LOG(LOG_ERROR, "initialize_tls_session_server(): gnutls_priority_set(): %s", -- 2.45.2