From: Aki Tuomi Date: Sun, 17 May 2015 14:10:16 +0000 (+0300) Subject: Emit error if hashing fails on PKCS#11 token X-Git-Tag: dnsdist-1.0.0-alpha1~248^2~28^2~44^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F2528%2Fhead;p=thirdparty%2Fpdns.git Emit error if hashing fails on PKCS#11 token --- diff --git a/pdns/pkcs11signers.cc b/pdns/pkcs11signers.cc index 0a3380b36f..f19b7022d6 100644 --- a/pdns/pkcs11signers.cc +++ b/pdns/pkcs11signers.cc @@ -760,6 +760,7 @@ std::string PKCS11DNSCryptoKeyEngine::hash(const std::string& msg) const { throw PDNSException("Not logged in to token"); if (d_slot->Digest(msg, result, &mech)) { + L<