]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
Don't assert for expected errors.
authorSimon Josefsson <simon@josefsson.org>
Mon, 1 Jun 2009 16:40:44 +0000 (18:40 +0200)
committerSimon Josefsson <simon@josefsson.org>
Mon, 1 Jun 2009 16:40:44 +0000 (18:40 +0200)
lib/x509/crq.c

index 67ecdbc2a49909a32bf67457a4962d8330dd6dd6..2c9a9c5875281e440e4ceca4f13d1cfed3f9796d 100644 (file)
@@ -2338,7 +2338,6 @@ gnutls_x509_crq_get_key_id (gnutls_x509_crq_t crq, unsigned int flags,
 
   if (*output_data_size < 20)
     {
-      gnutls_assert ();
       *output_data_size = 20;
       return GNUTLS_E_SHORT_MEMORY_BUFFER;
     }