git.samba.org
/
sfrench
/
cifs-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Pull fix-offsets-h into release branch
[sfrench/cifs-2.6.git]
/
security
/
seclvl.c
diff --git
a/security/seclvl.c
b/security/seclvl.c
index f8700e935b33360b49bb01f16e4cd04b5313fa6b..dc4e17b6eaf6623c1547363d0b22ee660a556508 100644
(file)
--- a/
security/seclvl.c
+++ b/
security/seclvl.c
@@
-205,7
+205,7
@@
plaintext_to_sha1(unsigned char *hash, const char *plaintext, int len)
"bytes.\n", len, PAGE_SIZE);
return -ENOMEM;
}
- tfm = crypto_alloc_tfm("sha1",
0
);
+ tfm = crypto_alloc_tfm("sha1",
CRYPTO_TFM_REQ_MAY_SLEEP
);
if (tfm == NULL) {
seclvl_printk(0, KERN_ERR,
"Failed to load transform for SHA1\n");