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:
@@ -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");
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user