projects
/
paraslash.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a12ecb5
)
crypt.c: Remove condition which is always true.
author
Andre Noll
<maan@systemlinux.org>
Sun, 7 Jul 2013 16:51:18 +0000
(18:51 +0200)
committer
Andre Noll
<maan@systemlinux.org>
Wed, 4 Sep 2013 22:23:13 +0000
(22:23 +0000)
rsa can never be NULL here.
crypt.c
patch
|
blob
|
history
diff --git
a/crypt.c
b/crypt.c
index
b8577df
..
5445138
100644
(file)
--- a/
crypt.c
+++ b/
crypt.c
@@
-147,8
+147,7
@@
static int read_rsa_bignums(const unsigned char *blob, int blen, RSA **result)
*result = rsa;
return 1;
fail:
- if (rsa)
- RSA_free(rsa);
+ RSA_free(rsa);
return ret;
}