diff options
author | Jeremy C. Reed <jreed@ISC.org> | 2011-05-24 16:49:10 +0200 |
---|---|---|
committer | Jeremy C. Reed <jreed@ISC.org> | 2011-05-24 16:49:10 +0200 |
commit | b8855cafa94a12af7e087a4866367f2336e10bdb (patch) | |
tree | 2d383608f36e161a4d55ed45cb41ecf5d6984a65 /src/lib/cryptolink/crypto_hmac.cc | |
parent | [trac542] ChangeLog entry for Trac 542 (diff) | |
download | kea-b8855cafa94a12af7e087a4866367f2336e10bdb.tar.xz kea-b8855cafa94a12af7e087a4866367f2336e10bdb.zip |
[master] make signHMAC match header
use "const" for second parameter (const size_t data_len).
This was noticed by Undefined symbol when linking when compiling
using Sunstudio.
Okayed on jabber.
Diffstat (limited to 'src/lib/cryptolink/crypto_hmac.cc')
-rw-r--r-- | src/lib/cryptolink/crypto_hmac.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/cryptolink/crypto_hmac.cc b/src/lib/cryptolink/crypto_hmac.cc index 14b43b3df5..af0c18ec5f 100644 --- a/src/lib/cryptolink/crypto_hmac.cc +++ b/src/lib/cryptolink/crypto_hmac.cc @@ -246,7 +246,7 @@ HMAC::verify(const void* sig, const size_t len) { } void -signHMAC(const void* data, size_t data_len, const void* secret, +signHMAC(const void* data, const size_t data_len, const void* secret, size_t secret_len, const HashAlgorithm hash_algorithm, isc::util::OutputBuffer& result, size_t len) { |