diff options
author | Christian Grothoff <christian@grothoff.org> | 2020-04-11 21:43:28 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2020-04-11 21:43:34 +0200 |
commit | 90ff9edfa9c5fcfa3a36d1653ff105e89b888e21 (patch) | |
tree | 780a2071f5072c8e8e044db741eb295c3f3ea2a7 /src/cadet | |
parent | 3bcfe59f1ce533246bda271f00b3ee957cae304d (diff) | |
download | gnunet-90ff9edfa9c5fcfa3a36d1653ff105e89b888e21.tar.gz gnunet-90ff9edfa9c5fcfa3a36d1653ff105e89b888e21.zip |
fixing #6149
Diffstat (limited to 'src/cadet')
-rw-r--r-- | src/cadet/gnunet-service-cadet_tunnels.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/cadet/gnunet-service-cadet_tunnels.c b/src/cadet/gnunet-service-cadet_tunnels.c index ae201ed2d..f1f2ec81f 100644 --- a/src/cadet/gnunet-service-cadet_tunnels.c +++ b/src/cadet/gnunet-service-cadet_tunnels.c | |||
@@ -677,8 +677,7 @@ new_ephemeral (struct CadetTunnelAxolotl *ax) | |||
677 | { | 677 | { |
678 | LOG (GNUNET_ERROR_TYPE_DEBUG, | 678 | LOG (GNUNET_ERROR_TYPE_DEBUG, |
679 | "Creating new ephemeral ratchet key (DHRs)\n"); | 679 | "Creating new ephemeral ratchet key (DHRs)\n"); |
680 | GNUNET_assert (GNUNET_OK == | 680 | GNUNET_CRYPTO_ecdhe_key_create (&ax->DHRs); |
681 | GNUNET_CRYPTO_ecdhe_key_create2 (&ax->DHRs)); | ||
682 | } | 681 | } |
683 | 682 | ||
684 | 683 | ||
@@ -3186,8 +3185,7 @@ GCT_create_tunnel (struct CadetPeer *destination) | |||
3186 | 3185 | ||
3187 | t->kx_retry_delay = INITIAL_KX_RETRY_DELAY; | 3186 | t->kx_retry_delay = INITIAL_KX_RETRY_DELAY; |
3188 | new_ephemeral (&t->ax); | 3187 | new_ephemeral (&t->ax); |
3189 | GNUNET_assert (GNUNET_OK == | 3188 | GNUNET_CRYPTO_ecdhe_key_create (&t->ax.kx_0); |
3190 | GNUNET_CRYPTO_ecdhe_key_create2 (&t->ax.kx_0)); | ||
3191 | t->destination = destination; | 3189 | t->destination = destination; |
3192 | t->channels = GNUNET_CONTAINER_multihashmap32_create (8); | 3190 | t->channels = GNUNET_CONTAINER_multihashmap32_create (8); |
3193 | t->maintain_connections_task | 3191 | t->maintain_connections_task |