summaryrefslogtreecommitdiff
path: root/toxcore/net_crypto.c
diff options
context:
space:
mode:
authorirungentoo <irungentoo@gmail.com>2014-03-15 22:11:36 -0400
committerirungentoo <irungentoo@gmail.com>2014-03-15 22:11:36 -0400
commite95494482fa8fc18bc7eda5e681fc0a89544bb3c (patch)
tree81b5339ff7545d0634d027a463dba73a6cdb2b24 /toxcore/net_crypto.c
parent99d8300e1b1a057520ac7498895ebeb1a5290452 (diff)
A bit of work done on the TCP relay server.
Diffstat (limited to 'toxcore/net_crypto.c')
-rw-r--r--toxcore/net_crypto.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/toxcore/net_crypto.c b/toxcore/net_crypto.c
index d2dbc90f..17d2e8ff 100644
--- a/toxcore/net_crypto.c
+++ b/toxcore/net_crypto.c
@@ -159,7 +159,7 @@ int decrypt_data_symmetric(uint8_t *secret_key, uint8_t *nonce, uint8_t *encrypt
159} 159}
160 160
161/* Increment the given nonce by 1. */ 161/* Increment the given nonce by 1. */
162static void increment_nonce(uint8_t *nonce) 162void increment_nonce(uint8_t *nonce)
163{ 163{
164 uint32_t i; 164 uint32_t i;
165 165