From e893e7bd5bc68e97e52e89f4ff9dbe5c468dc959 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Love=20H=C3=B6rnquist=20=C3=85strand?= Date: Mon, 15 Dec 2008 04:31:51 +0000 Subject: [PATCH] Add HX509_CMS_EV_NO_KU_CHECK and HX509_CMS_VS_ALLOW_DATA_OID_MISMATCH git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24198 ec53bebd-3082-4978-b11e-865c3cabbd6b --- lib/hx509/hx509.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lib/hx509/hx509.h b/lib/hx509/hx509.h index 5e5a2f811..12e6ce942 100644 --- a/lib/hx509/hx509.h +++ b/lib/hx509/hx509.h @@ -125,6 +125,12 @@ typedef enum { /* flags to hx509_cms_unenvelope */ #define HX509_CMS_UE_DONT_REQUIRE_KU_ENCIPHERMENT 0x01 +/* flags to hx509_cms_envelope_1 */ +#define HX509_CMS_EV_NO_KU_CHECK 0x01 + +/* flags to hx509_cms_verify_signed */ +#define HX509_CMS_VS_ALLOW_DATA_OID_MISMATCH 0x01 + /* selectors passed to hx509_crypto_select and hx509_crypto_available */ #define HX509_SELECT_ALL 0 #define HX509_SELECT_DIGEST 1