Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 158027
b: refs/heads/master
c: a367b17
h: refs/heads/master
i:
  158025: 5870603
  158023: 9183a23
v: v3
  • Loading branch information
Steffen Klassert authored and Herbert Xu committed Aug 29, 2009
1 parent 695984f commit be728b7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 9 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 36f87a4a29cb8cd291169483079fde34bad4ef16
refs/heads/master: a367b17f34e1280270a6b577c11d5ecff093f9ae
9 changes: 1 addition & 8 deletions trunk/crypto/ansi_cprng.c
Original file line number Diff line number Diff line change
Expand Up @@ -408,17 +408,10 @@ static struct crypto_alg rng_alg = {
/* Module initalization */
static int __init prng_mod_init(void)
{
int ret = 0;

if (fips_enabled)
rng_alg.cra_priority += 200;

ret = crypto_register_alg(&rng_alg);

if (ret)
goto out;
out:
return 0;
return crypto_register_alg(&rng_alg);
}

static void __exit prng_mod_fini(void)
Expand Down

0 comments on commit be728b7

Please sign in to comment.