]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
corrected probing of cryptodev digests.
authorNikos Mavrogiannopoulos <nmav@gnutls.org>
Thu, 22 Mar 2012 21:33:15 +0000 (22:33 +0100)
committerNikos Mavrogiannopoulos <nmav@gnutls.org>
Thu, 22 Mar 2012 21:33:15 +0000 (22:33 +0100)
lib/accelerated/cryptodev.c

index 7d1eacc2f8ffc09e1031a6684866ee56d83a976d..8a239d3ea67127bf9495c44b14ae60757b4296a1 100644 (file)
@@ -427,8 +427,8 @@ register_mac_digest (int cfd)
         continue;
 
       sess.mac = gnutls_mac_map[i];
-      sess.keylen = 8;
-      sess.key = fake_key;
+      sess.mackeylen = 8;
+      sess.mackey = fake_key;
 
       if (ioctl (cfd, CIOCGSESSION, &sess))
         {