]> git.ipfire.org Git - thirdparty/pdns.git/commit
Return a unique_ptr instead of a shared one for DNSCryptoKeyEngine 9857/head
authorRemi Gacogne <remi.gacogne@powerdns.com>
Fri, 11 Dec 2020 11:50:01 +0000 (12:50 +0100)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Fri, 11 Dec 2020 13:58:02 +0000 (14:58 +0100)
commita2c6e55476e5ef22ba97e883a98ed6fa7294732b
tree1836d1160ea545c3c6002267d769f01e1ac7cb3d
parent47dacd8e0ab894c2e4e4e1b0f52aff02b80fac82
Return a unique_ptr instead of a shared one for DNSCryptoKeyEngine

We do not always need a shared pointer, and that saves memory barriers
when we don't.
13 files changed:
pdns/dbdnsseckeeper.cc
pdns/decafsigners.cc
pdns/dnssecinfra.cc
pdns/dnssecinfra.hh
pdns/opensslsigners.cc
pdns/pdnsutil.cc
pdns/pkcs11signers.cc
pdns/pkcs11signers.hh
pdns/recursordist/test-syncres_cc.cc
pdns/recursordist/test-syncres_cc4.cc
pdns/sodiumsigners.cc
pdns/test-signers.cc
pdns/validate.cc