projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Make sure the ReplayWindow option works for SPTPS as well.
[tinc]
/
src
/
openssl
/
ecdh.c
diff --git
a/src/openssl/ecdh.c
b/src/openssl/ecdh.c
index
871f9fb
..
5238c34
100644
(file)
--- a/
src/openssl/ecdh.c
+++ b/
src/openssl/ecdh.c
@@
-41,7
+41,7
@@
bool ecdh_generate_public(ecdh_t *ecdh, void *pubkey) {
logger(DEBUG_ALWAYS, LOG_ERR, "Generating EC key failed: %s", ERR_error_string(ERR_get_error(), NULL));
return false;
}
-
+
const EC_POINT *point = EC_KEY_get0_public_key(*ecdh);
if(!point) {
EC_KEY_free(*ecdh);