aboutsummaryrefslogtreecommitdiff
path: root/src/mesh/gnunet-service-mesh_tunnel.c
diff options
context:
space:
mode:
authorBart Polot <bart@net.in.tum.de>2013-12-17 04:45:34 +0000
committerBart Polot <bart@net.in.tum.de>2013-12-17 04:45:34 +0000
commitba863c885643936039b9af209b03c2e93017e118 (patch)
tree1e9c81db04beb36220c0dd641915016b2e4b4678 /src/mesh/gnunet-service-mesh_tunnel.c
parent27c12911f4f2aba2d90099270d70de846e83854f (diff)
downloadgnunet-ba863c885643936039b9af209b03c2e93017e118.tar.gz
gnunet-ba863c885643936039b9af209b03c2e93017e118.zip
- fix state selection
Diffstat (limited to 'src/mesh/gnunet-service-mesh_tunnel.c')
-rw-r--r--src/mesh/gnunet-service-mesh_tunnel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesh/gnunet-service-mesh_tunnel.c b/src/mesh/gnunet-service-mesh_tunnel.c
index a9dcc5daa..a65d85f66 100644
--- a/src/mesh/gnunet-service-mesh_tunnel.c
+++ b/src/mesh/gnunet-service-mesh_tunnel.c
@@ -527,7 +527,7 @@ t_decrypt (struct MeshTunnel3 *t,
527 struct GNUNET_CRYPTO_SymmetricInitializationVector siv; 527 struct GNUNET_CRYPTO_SymmetricInitializationVector siv;
528 struct GNUNET_CRYPTO_SymmetricSessionKey *key; 528 struct GNUNET_CRYPTO_SymmetricSessionKey *key;
529 529
530 if (t->estate == MESH_TUNNEL3_KEY_OK) 530 if (t->estate == MESH_TUNNEL3_KEY_OK || t->estate == MESH_TUNNEL3_KEY_PING)
531 { 531 {
532 key = &t->d_key; 532 key = &t->d_key;
533 } 533 }