summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2003-01-09 22:10:21 +0000
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2003-01-09 22:10:21 +0000
commit8472bfe0a8a95c3cec86adb4fe6c837e5d22d2e0 (patch)
treed832d8d09b1040f7ba4ebe33df266ed1564aff3c /lib
parent96dbf9713554a3ee9b712d3ff7701f602361312c (diff)
downloadgnutls-8472bfe0a8a95c3cec86adb4fe6c837e5d22d2e0.tar.gz
*** empty log message ***
Diffstat (limited to 'lib')
-rw-r--r--lib/gnutls_hash_int.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/gnutls_hash_int.c b/lib/gnutls_hash_int.c
index adb6094190..829414748b 100644
--- a/lib/gnutls_hash_int.c
+++ b/lib/gnutls_hash_int.c
@@ -168,6 +168,8 @@ GNUTLS_MAC_HANDLE _gnutls_hmac_init(gnutls_mac_algorithm algorithm,
}
if (ret != GNUTLS_MAC_FAILED) {
+ gcry_md_setkey(ret->handle, key, keylen);
+
ret->algorithm = algorithm;
ret->key = key;
ret->keysize = keylen;