summaryrefslogtreecommitdiff
path: root/toxcore/TCP_server.h
diff options
context:
space:
mode:
authorirungentoo <irungentoo@gmail.com>2014-04-21 16:51:36 -0400
committerirungentoo <irungentoo@gmail.com>2014-04-21 16:51:36 -0400
commit9c6a8432ce7298766669d1e6a966b5493971afb7 (patch)
tree8fd98c412610cbcf3fa8b7c28e0a5efbe02bad77 /toxcore/TCP_server.h
parent1603ca974eae3fe0d94b597103f04acfb96fcab0 (diff)
Crypto related cleanups.
Moved Bunch of functions from net_crypto to crypto_core. decrypt_data_fast and decrypt_data_symmetric were the same thing therefore, removed decrypt_data_fast. Replaced all the crypto_secretbox_* defines with the equivalent crypto_box_* one. New define: crypto_box_KEYBYTES that is equal to crypto_box_BEFORENMBYTES.
Diffstat (limited to 'toxcore/TCP_server.h')
-rw-r--r--toxcore/TCP_server.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/toxcore/TCP_server.h b/toxcore/TCP_server.h
index 498b1147..e4c45dad 100644
--- a/toxcore/TCP_server.h
+++ b/toxcore/TCP_server.h
@@ -23,7 +23,7 @@
23#ifndef TCP_SERVER_H 23#ifndef TCP_SERVER_H
24#define TCP_SERVER_H 24#define TCP_SERVER_H
25 25
26#include "net_crypto.h" 26#include "crypto_core.h"
27#include "onion.h" 27#include "onion.h"
28 28
29#if defined(_WIN32) || defined(__WIN32__) || defined(WIN32) || defined(__MACH__) 29#if defined(_WIN32) || defined(__WIN32__) || defined(WIN32) || defined(__MACH__)