projects
/
platform
/
upstream
/
crda.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7429427
)
Space fix
v1.1.1
author
Luis R. Rodriguez
<lrodriguez@atheros.com>
Mon, 25 Jan 2010 17:43:20 +0000
(09:43 -0800)
committer
Luis R. Rodriguez
<lrodriguez@atheros.com>
Mon, 25 Jan 2010 17:43:20 +0000
(09:43 -0800)
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
reglib.c
patch
|
blob
|
history
diff --git
a/reglib.c
b/reglib.c
index
80ae062
..
218110b
100644
(file)
--- 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);