Use _hx509_abort.

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16436 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2006-01-03 08:26:26 +00:00
parent fde07b8b17
commit 02d27ea231
6 changed files with 31 additions and 16 deletions

View File

@@ -247,7 +247,7 @@ cms_create_sd(struct cms_create_sd_options *opt, int argc, char **argv)
if (ret)
errx(1, "encode ContentInfo");
if (o.length != size)
abort();
_hx509_abort("internal ASN.1 encoder error");
free_ContentInfo(&ci);
@@ -391,7 +391,7 @@ cms_create_enveloped(struct cms_envelope_options *opt, int argc, char **argv)
if (ret)
errx(1, "encode ContentInfo");
if (o.length != size)
abort();
_hx509_abort("internal ASN.1 encoder error");
free_ContentInfo(&ci);