projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Use the crypto wrappers again instead of calling OpenSSL directly.
[tinc]
/
src
/
protocol_key.c
diff --git
a/src/protocol_key.c
b/src/protocol_key.c
index
66ffb11
..
52666d9
100644
(file)
--- a/
src/protocol_key.c
+++ b/
src/protocol_key.c
@@
-136,7
+136,7
@@
bool req_key_h(connection_t *c, char *request) {
bool send_ans_key(connection_t *c, const node_t *from, const node_t *to) {
size_t keylen = cipher_keylength(&from->cipher);
- char key[keylen];
+ char key[keylen
* 2 + 1
];
cp();