aboutsummaryrefslogtreecommitdiff
path: root/src/cadet/cadet_protocol.h
diff options
context:
space:
mode:
authorBart Polot <bart@net.in.tum.de>2015-10-02 03:37:52 +0000
committerBart Polot <bart@net.in.tum.de>2015-10-02 03:37:52 +0000
commita101e9b37474e82102637b09de03c5d602201983 (patch)
tree46e33de632aafc73d7c3b5fc30f64ecf55e5e2b6 /src/cadet/cadet_protocol.h
parentcef0009520797f29eefb74e68a0020e4cdb3d5a8 (diff)
downloadgnunet-a101e9b37474e82102637b09de03c5d602201983.tar.gz
gnunet-a101e9b37474e82102637b09de03c5d602201983.zip
Fix try_old_keys, in order to use it for data with the same Header key but out-of-order message number
Diffstat (limited to 'src/cadet/cadet_protocol.h')
-rw-r--r--src/cadet/cadet_protocol.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/cadet/cadet_protocol.h b/src/cadet/cadet_protocol.h
index 0e0030986..cba574c08 100644
--- a/src/cadet/cadet_protocol.h
+++ b/src/cadet/cadet_protocol.h
@@ -319,6 +319,8 @@ struct GNUNET_CADET_AX
319 */ 319 */
320 struct GNUNET_CADET_Hash hmac; 320 struct GNUNET_CADET_Hash hmac;
321 321
322 /**************** AX_HEADER start ****************/
323
322 /** 324 /**
323 * Number of messages sent with the current ratchet key. 325 * Number of messages sent with the current ratchet key.
324 */ 326 */
@@ -334,6 +336,8 @@ struct GNUNET_CADET_AX
334 */ 336 */
335 struct GNUNET_CRYPTO_EcdhePublicKey DHRs; 337 struct GNUNET_CRYPTO_EcdhePublicKey DHRs;
336 338
339 /**************** AX_HEADER end ****************/
340
337 /** 341 /**
338 * Encrypted content follows. 342 * Encrypted content follows.
339 */ 343 */