We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f52c7f6 commit c163d41Copy full SHA for c163d41
pdns/pkcs11signers.cc
@@ -806,7 +806,7 @@ std::string PKCS11DNSCryptoKeyEngine::getPubKeyHash() const {
806
807
std::string result;
808
if (d_slot->DigestKey(result) == 0) return result;
809
- return "";
+ throw PDNSException("Could not digest key (maybe it's missing?)");
810
};
811
812
std::string PKCS11DNSCryptoKeyEngine::getPublicKeyString() const {
0 commit comments