projects
/
tinc
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2236a27
)
Check return value of RSA_generate_key_ex().
author
Guus Sliepen
<guus@tinc-vpn.org>
Wed, 22 Jun 2016 15:42:13 +0000
(17:42 +0200)
committer
Guus Sliepen
<guus@tinc-vpn.org>
Wed, 22 Jun 2016 15:42:13 +0000
(17:42 +0200)
src/tincd.c
patch
|
blob
|
history
diff --git
a/src/tincd.c
b/src/tincd.c
index
ccd79dc
..
aaf40e2
100644
(file)
--- a/
src/tincd.c
+++ b/
src/tincd.c
@@
-411,7
+411,7
@@
static bool keygen(int bits) {
BN_free(e);
BN_GENCB_free(cb);
- if(!r
sa_key
) {
+ if(!r
esult
) {
fprintf(stderr, "Error during key generation!\n");
return false;
} else