summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/lib/cryptolink/crypto_hmac.cc2
-rw-r--r--src/lib/dns/tsig.cc2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/cryptolink/crypto_hmac.cc b/src/lib/cryptolink/crypto_hmac.cc
index ea70c3298b..9c35f60079 100644
--- a/src/lib/cryptolink/crypto_hmac.cc
+++ b/src/lib/cryptolink/crypto_hmac.cc
@@ -65,7 +65,7 @@ public:
isc_throw(isc::cryptolink::LibraryError, exc.what());
}
- hmac_.reset(new Botan::HMAC::HMAC(hash));
+ hmac_.reset(new Botan::HMAC(hash));
// If the key length is larger than the block size, we hash the
// key itself first.
diff --git a/src/lib/dns/tsig.cc b/src/lib/dns/tsig.cc
index c65d5aef76..48ac5e0e1d 100644
--- a/src/lib/dns/tsig.cc
+++ b/src/lib/dns/tsig.cc
@@ -130,7 +130,7 @@ TSIGContext::sign(const uint16_t qid, const void* const data,
if (error == TSIGError::BAD_SIG() || error == TSIGError::BAD_KEY()) {
ConstTSIGRecordPtr tsig(new TSIGRecord(
any::TSIG(impl_->key_.getAlgorithmName(),
- now, DEFAULT_FUDGE, NULL, 0,
+ now, DEFAULT_FUDGE, 0, NULL,
qid, error.getCode(), 0, NULL)));
impl_->previous_digest_.clear();
impl_->state_ = SIGNED;