From 4b32ce75120ec6254b4650ac25e082a64b5df6a1 Mon Sep 17 00:00:00 2001 From: Peter van Dijk Date: Thu, 11 Jun 2020 21:35:28 +0200 Subject: [PATCH] restore flag symmetry --- pdns/pkcs11signers.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/pdns/pkcs11signers.cc b/pdns/pkcs11signers.cc index 95fe5654b4..d6073b865b 100644 --- a/pdns/pkcs11signers.cc +++ b/pdns/pkcs11signers.cc @@ -841,6 +841,7 @@ void PKCS11DNSCryptoKeyEngine::create(unsigned int bits) { pubAttr.push_back(P11KitAttribute(CKA_TOKEN, (char)CK_TRUE)); pubAttr.push_back(P11KitAttribute(CKA_ENCRYPT, (char)CK_TRUE)); pubAttr.push_back(P11KitAttribute(CKA_VERIFY, (char)CK_TRUE)); + pubAttr.push_back(P11KitAttribute(CKA_WRAP, (char)CK_TRUE)); pubAttr.push_back(P11KitAttribute(CKA_LABEL, d_pub_label)); if (d_algorithm == 13) pubAttr.push_back(P11KitAttribute(CKA_ECDSA_PARAMS, ECDSA256_PARAMS)); else if (d_algorithm == 14) pubAttr.push_back(P11KitAttribute(CKA_ECDSA_PARAMS, ECDSA384_PARAMS)); -- 2.47.3