add flag to hx509_cms_verify_signed

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24199 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2008-12-15 04:32:00 +00:00
parent e893e7bd5b
commit 131b3d34f5

View File

@@ -243,7 +243,7 @@ cms_verify_sd(struct cms_verify_sd_options *opt, int argc, char **argv)
hx509_verify_attach_anchors(ctx, anchors);
ret = hx509_cms_verify_signed(context, ctx, co.data, co.length, sd,
ret = hx509_cms_verify_signed(context, ctx, 0, co.data, co.length, sd,
store, &type, &c, &signers);
if (co.data != p)
der_free_octet_string(&co);
@@ -1951,7 +1951,7 @@ test_one_cert(hx509_context hxcontext, void *ctx, hx509_cert cert)
if (ret)
errx(1, "hx509_cms_create_signed_1");
ret = hx509_cms_verify_signed(context, vctx, sd.data, sd.length,
ret = hx509_cms_verify_signed(context, vctx, 0, sd.data, sd.length,
NULL, NULL, &type, &c, &signer);
free(sd.data);
if (ret)