]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
*** empty log message ***
authorNikos Mavrogiannopoulos <nmav@gnutls.org>
Thu, 9 Jan 2003 22:10:21 +0000 (22:10 +0000)
committerNikos Mavrogiannopoulos <nmav@gnutls.org>
Thu, 9 Jan 2003 22:10:21 +0000 (22:10 +0000)
lib/gnutls_hash_int.c

index adb6094190afdff2fdca20c0c3d3b8d039b8e174..829414748bc437ec4615d0fb9507bf2feb046bdf 100644 (file)
@@ -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;