summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJelte Jansen <jelte@isc.org>2011-04-29 14:14:58 +0200
committerJelte Jansen <jelte@isc.org>2011-04-29 14:14:58 +0200
commitc8b7abc5751b171621be9edd5156dd2691ff60d1 (patch)
tree853c632e3b5a19df23c653a1f6087af499a33630
parent[master] forgot to apply one last suggestion in #812: renaming a method. (diff)
downloadkea-c8b7abc5751b171621be9edd5156dd2691ff60d1.tar.xz
kea-c8b7abc5751b171621be9edd5156dd2691ff60d1.zip
[master] small change to make it compile again on my system
acked by shane on jabber
-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;