From 22ecdc45a0efa4c444d0b7010b7cd743aeb68c57 Mon Sep 17 00:00:00 2001 From: lloyd Date: Fri, 18 May 2007 01:22:58 +0000 Subject: Enable DATA_ENCIPHERMENT in constraints for encryption keys. --- src/x509_key.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/x509_key.cpp b/src/x509_key.cpp index f2a7ba485..7bace558f 100644 --- a/src/x509_key.cpp +++ b/src/x509_key.cpp @@ -153,7 +153,7 @@ Key_Constraints find_constraints(const Public_Key& pub_key, u32bit constraints = 0; if(dynamic_cast(key)) - constraints |= KEY_ENCIPHERMENT; + constraints |= KEY_ENCIPHERMENT | DATA_ENCIPHERMENT; if(dynamic_cast(key)) constraints |= KEY_AGREEMENT; -- cgit v1.2.3