summaryrefslogtreecommitdiff
path: root/reglib.c
diff options
context:
space:
mode:
authorLuis R. Rodriguez <lrodriguez@atheros.com>2010-01-25 09:43:20 -0800
committerLuis R. Rodriguez <lrodriguez@atheros.com>2010-01-25 09:43:20 -0800
commit52300e7ed595cc15305fbfbc28c6ee146ceff1ee (patch)
tree5df4d36cc71538f5301400d230ca33ba59dbd3d0 /reglib.c
parent7429427a13c6ae244df6f60b811d6d1152e1d451 (diff)
downloadcrda-52300e7ed595cc15305fbfbc28c6ee146ceff1ee.tar.gz
crda-52300e7ed595cc15305fbfbc28c6ee146ceff1ee.tar.bz2
crda-52300e7ed595cc15305fbfbc28c6ee146ceff1ee.zip
Space fixv1.1.1
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Diffstat (limited to 'reglib.c')
-rw-r--r--reglib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/reglib.c b/reglib.c
index 80ae062..218110b 100644
--- a/reglib.c
+++ b/reglib.c
@@ -85,7 +85,7 @@ int crda_verify_db_signature(__u8 *db, int dblen, int siglen)
if ((keyfile = fopen(filename, "rb"))) {
rsa = PEM_read_RSA_PUBKEY(keyfile,
NULL, NULL, NULL);
- if (rsa)
+ if (rsa)
ok = RSA_verify(NID_sha1, hash, SHA_DIGEST_LENGTH,
db + dblen, siglen, rsa) == 1;
RSA_free(rsa);