BIND 10 master, updated. b0dfec1a5000ad22ef4dfa9c21c89e90b0e68673 [master] corrected the what() string when throwing UnsupportedAlgorithm from the HMACImpl constructor. okayed on jabber, directly pushing.
BIND 10 source code commits
bind10-changes at lists.isc.org
Fri May 20 16:48:01 UTC 2011
The branch, master has been updated
via b0dfec1a5000ad22ef4dfa9c21c89e90b0e68673 (commit)
from 496a4378cfcc8430dd1155bb3ae5448f27ebfdfa (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit b0dfec1a5000ad22ef4dfa9c21c89e90b0e68673
Author: JINMEI Tatuya <jinmei at isc.org>
Date: Fri May 20 09:47:13 2011 -0700
[master] corrected the what() string when throwing UnsupportedAlgorithm from
the HMACImpl constructor.
okayed on jabber, directly pushing.
-----------------------------------------------------------------------
Summary of changes:
src/lib/cryptolink/crypto_hmac.cc | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
-----------------------------------------------------------------------
diff --git a/src/lib/cryptolink/crypto_hmac.cc b/src/lib/cryptolink/crypto_hmac.cc
index 2e0800e..14b43b3 100644
--- a/src/lib/cryptolink/crypto_hmac.cc
+++ b/src/lib/cryptolink/crypto_hmac.cc
@@ -70,7 +70,8 @@ public:
getBotanHashAlgorithmName(hash_algorithm));
} catch (const Botan::Algorithm_Not_Found&) {
isc_throw(isc::cryptolink::UnsupportedAlgorithm,
- "Unknown hash algorithm: " + hash_algorithm);
+ "Unknown hash algorithm: " <<
+ static_cast<int>(hash_algorithm));
} catch (const Botan::Exception& exc) {
isc_throw(isc::cryptolink::LibraryError, exc.what());
}
More information about the bind10-changes
mailing list