aboutsummaryrefslogtreecommitdiffstats
path: root/security/seclvl.c
diff options
context:
space:
mode:
Diffstat (limited to 'security/seclvl.c')
-rw-r--r--security/seclvl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/security/seclvl.c b/security/seclvl.c
index f8700e935b33..dc4e17b6eaf6 100644
--- a/security/seclvl.c
+++ b/security/seclvl.c
@@ -205,7 +205,7 @@ plaintext_to_sha1(unsigned char *hash, const char *plaintext, int len)
205 "bytes.\n", len, PAGE_SIZE); 205 "bytes.\n", len, PAGE_SIZE);
206 return -ENOMEM; 206 return -ENOMEM;
207 } 207 }
208 tfm = crypto_alloc_tfm("sha1", 0); 208 tfm = crypto_alloc_tfm("sha1", CRYPTO_TFM_REQ_MAY_SLEEP);
209 if (tfm == NULL) { 209 if (tfm == NULL) {
210 seclvl_printk(0, KERN_ERR, 210 seclvl_printk(0, KERN_ERR,
211 "Failed to load transform for SHA1\n"); 211 "Failed to load transform for SHA1\n");