projects
/
tinc
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from:
6685f2c
)
Check RAND_bytes() return value, fail when getting random fails.
author
Steffan Karger
<steffan@karger.me>
Tue, 29 Apr 2014 20:03:43 +0000
(22:03 +0200)
committer
Guus Sliepen
<guus@tinc-vpn.org>
Thu, 1 May 2014 12:56:07 +0000
(14:56 +0200)
When RAND_bytes() does not return success, the buffer contents cannot be
used. This patch makes sure the return code is checked, and the connection
fails when keys or challenges cannot be trusted.
Signed-off-by: Steffan Karger <steffan@karger.me>
No differences found