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
- Lines: 10
- Date:
2004-02-18 05:36:31.000000000 -0800
- Orig file:
linux-2.4.24/crypto/api.c
- Orig date:
2003-08-25 04:44:40.000000000 -0700
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)