]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
set a default error position.
authorNikos Mavrogiannopoulos <nmav@gnutls.org>
Tue, 22 Jan 2013 19:02:42 +0000 (20:02 +0100)
committerNikos Mavrogiannopoulos <nmav@gnutls.org>
Tue, 22 Jan 2013 19:02:42 +0000 (20:02 +0100)
lib/gnutls_priority.c

index 645d6d5b10dcefe757fd59f0c4d392105d986f01..a2085f48f2c58d2f1752fdff17884162019d45d5 100644 (file)
@@ -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.