Browse Source

[master] small change to make it compile again on my system

acked by shane on jabber
Jelte Jansen 14 years ago
parent
commit
c8b7abc575
2 changed files with 2 additions and 2 deletions
  1. 1 1
      src/lib/cryptolink/crypto_hmac.cc
  2. 1 1
      src/lib/dns/tsig.cc

+ 1 - 1
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.

+ 1 - 1
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;