Signed-off-by: Cristian Stoica <cristian.sto...@freescale.com>
---
 ioctl.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ioctl.c b/ioctl.c
index ae95cf5..9bd968d 100644
--- a/ioctl.c
+++ b/ioctl.c
@@ -260,7 +260,7 @@ crypto_create_session(struct fcrypt *fcr, struct session_op 
*sop)
                if (unlikely(sop->mackeylen > CRYPTO_HMAC_MAX_KEY_LEN)) {
                        dprintk(1, KERN_DEBUG,
                                "Setting key failed for %s-%zu.\n",
-                               alg_name, (size_t)sop->mackeylen*8);
+                               hash_name, (size_t)sop->mackeylen*8);
                        ret = -EINVAL;
                        goto error_hash;
                }
-- 
1.7.11.7



_______________________________________________
Cryptodev-linux-devel mailing list
Cryptodev-linux-devel@gna.org
https://mail.gna.org/listinfo/cryptodev-linux-devel

Reply via email to