From 18597985444377d7c5872585906172bf38838365 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Love=20H=C3=B6rnquist=20=C3=85strand?= Date: Fri, 27 Feb 2009 03:24:18 +0000 Subject: [PATCH] allow weak flags for cms git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24819 ec53bebd-3082-4978-b11e-865c3cabbd6b --- lib/hx509/hx509.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/hx509/hx509.h b/lib/hx509/hx509.h index 6d0b40334..86aad7ec9 100644 --- a/lib/hx509/hx509.h +++ b/lib/hx509/hx509.h @@ -125,9 +125,11 @@ typedef enum { /* flags to hx509_cms_unenvelope */ #define HX509_CMS_UE_DONT_REQUIRE_KU_ENCIPHERMENT 0x01 +#define HX509_CMS_UE_ALLOW_WEAK 0x02 /* flags to hx509_cms_envelope_1 */ #define HX509_CMS_EV_NO_KU_CHECK 0x01 +#define HX509_CMS_EV_ALLOW_WEAK 0x02 /* flags to hx509_cms_verify_signed */ #define HX509_CMS_VS_ALLOW_DATA_OID_MISMATCH 0x01