Fix null blocks in kernel backend.
authorMilan Broz <gmazyland@gmail.com>
Thu, 10 Jan 2013 14:37:26 +0000 (15:37 +0100)
committerMilan Broz <gmazyland@gmail.com>
Thu, 10 Jan 2013 14:37:26 +0000 (15:37 +0100)
lib/crypto_backend/crypto_kernel.c

index 681716d..9b26fb5 100644 (file)
@@ -52,7 +52,7 @@ static struct hash_alg hash_algs[] = {
        { "sha512", "sha512", 64 },
        { "ripemd160", "rmd160", 20 },
        { "whirlpool", "wp512", 64 },
-       { NULL, 0 }
+       { NULL, NULL, 0 }
 };
 
 struct crypt_hash {