]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
Don't assert on expected errors.
authorSimon Josefsson <simon@josefsson.org>
Tue, 2 Jun 2009 06:41:42 +0000 (08:41 +0200)
committerSimon Josefsson <simon@josefsson.org>
Tue, 2 Jun 2009 06:41:42 +0000 (08:41 +0200)
lib/x509/crq.c

index 9bfb67356c0f7351d0d2bf23e2232b7b2478aa14..9aa413e642902b14d49311ca6d5526c6831c8dd4 100644 (file)
@@ -394,7 +394,6 @@ parse_attribute (ASN1_TYPE asn1_struct,
              else
                {
                  *sizeof_buf = len;
-                 gnutls_assert ();
                  return GNUTLS_E_SHORT_MEMORY_BUFFER;
                }
            }