Check for internal ASN1 encoder error.

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19768 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2007-01-08 18:45:03 +00:00
parent b7259f0b9d
commit 0e65b27793

View File

@@ -1193,6 +1193,8 @@ hx509_cms_create_signed_1(hx509_context context,
hx509_clear_error_string(context);
goto out;
}
if (sd.certificates->val[i].length != size)
_hx509_abort("internal ASN.1 encoder error");
}
}