diff options
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 |