diff options
author | Luis R. Rodriguez <lrodriguez@atheros.com> | 2010-01-25 09:43:20 -0800 |
---|---|---|
committer | Luis R. Rodriguez <lrodriguez@atheros.com> | 2010-01-25 09:43:20 -0800 |
commit | 52300e7ed595cc15305fbfbc28c6ee146ceff1ee (patch) | |
tree | 5df4d36cc71538f5301400d230ca33ba59dbd3d0 /reglib.c | |
parent | 7429427a13c6ae244df6f60b811d6d1152e1d451 (diff) | |
download | crda-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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |