diff --git a/lib/hx509/hx509.h b/lib/hx509/hx509.h index 99e19f897..c13a068be 100644 --- a/lib/hx509/hx509.h +++ b/lib/hx509/hx509.h @@ -91,8 +91,10 @@ typedef enum { HX509_QUERY_OPTION_END = 0xffff } hx509_query_option; -enum hx509_error_flag { - HX509_ERROR_APPEND = 1, -}; +/* flags to hx509_set_error_string */ +#define HX509_ERROR_APPEND 0x01 + +/* flags to hx509_cms_unenvelope */ +#define HX509_CMS_UE_DONT_REQUIRE_KU_ENCIPHERMENT 0x01 #include