Commit 52300e7e authored by Luis R. Rodriguez's avatar Luis R. Rodriguez

Space fix

Signed-off-by: 's avatarLuis R. Rodriguez <lrodriguez@atheros.com>
parent 7429427a
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment