patch-2.4.25 linux-2.4.25/crypto/api.c

Next file: linux-2.4.25/crypto/blowfish.c
Previous file: linux-2.4.25/crypto/aes.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.24/crypto/api.c linux-2.4.25/crypto/api.c
@@ -37,6 +37,9 @@
 struct crypto_alg *crypto_alg_lookup(const char *name)
 {
 	struct crypto_alg *q, *alg = NULL;
+
+	if (!name)
+		return NULL;
 	
 	down_read(&crypto_alg_sem);
 	

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)