From: Nikos Mavrogiannopoulos Date: Tue, 22 Jan 2013 19:02:42 +0000 (+0100) Subject: set a default error position. X-Git-Tag: gnutls_3_1_7~89 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=2150ae8e9b153ce0fa0be8f62813d0e29ea490fe;p=thirdparty%2Fgnutls.git set a default error position. --- diff --git a/lib/gnutls_priority.c b/lib/gnutls_priority.c index 645d6d5b10..a2085f48f2 100644 --- a/lib/gnutls_priority.c +++ b/lib/gnutls_priority.c @@ -803,6 +803,9 @@ gnutls_priority_init (gnutls_priority_t * priority_cache, gnutls_assert (); return GNUTLS_E_MEMORY_ERROR; } + + if (err_pos) + *err_pos = priorities; /* for now unsafe renegotiation is default on everyone. To be removed * when we make it the default.