From: Peter van Dijk Date: Thu, 11 Jun 2020 19:35:28 +0000 (+0200) Subject: restore flag symmetry X-Git-Tag: dnsdist-1.5.0-rc3~5^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4b32ce75120ec6254b4650ac25e082a64b5df6a1;p=thirdparty%2Fpdns.git restore flag symmetry --- 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));