]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
treat absence of parameters the same as having them disabled.
authorNikos Mavrogiannopoulos <nmav@gnutls.org>
Wed, 29 Sep 2010 09:09:30 +0000 (11:09 +0200)
committerNikos Mavrogiannopoulos <nmav@gnutls.org>
Wed, 29 Sep 2010 09:09:30 +0000 (11:09 +0200)
lib/ext_session_ticket.c

index e4ab1e2128fd47cdc3dd1b53a97d1d519b2957fa..2e1abfb26cbedf9f1d15cd81d7b33fc9ec02cd00 100644 (file)
@@ -273,8 +273,7 @@ session_ticket_recv_params (gnutls_session_t session,
   ret = _gnutls_ext_get_session_data( session, GNUTLS_EXTENSION_SESSION_TICKET, &epriv);
   if (ret < 0)
     {
-      gnutls_assert();
-      return ret;
+      return 0;
     }
   priv = epriv.ptr;