Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ISC Open Source Projects
Kea
Commits
b0dfec1a
Commit
b0dfec1a
authored
May 20, 2011
by
JINMEI Tatuya
Browse files
[master] corrected the what() string when throwing UnsupportedAlgorithm from
the HMACImpl constructor. okayed on jabber, directly pushing.
parent
496a4378
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/lib/cryptolink/crypto_hmac.cc
View file @
b0dfec1a
...
...
@@ -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
());
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment