summaryrefslogtreecommitdiff
path: root/ct_servmgmt.c
diff options
context:
space:
mode:
authorDaniel Borkmann <dborkman@redhat.com>2013-06-04 13:07:06 +0200
committerDaniel Borkmann <dborkman@redhat.com>2013-06-04 13:07:06 +0200
commit26b173d328e36e423ff7765df5b3fc75abb6a1d9 (patch)
tree74028b066f95121cfac3ec494b6a64bd14ef8668 /ct_servmgmt.c
parent5ead7d42066286031cdd75b833fc9d3a2f6b3a53 (diff)
crypto: add crypto header with includes and defines
Add another header with includes and defines, so that we can reduce double-definitions, and shorten long text strings. Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
Diffstat (limited to 'ct_servmgmt.c')
-rw-r--r--ct_servmgmt.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/ct_servmgmt.c b/ct_servmgmt.c
index 143b03a..38eb9c5 100644
--- a/ct_servmgmt.c
+++ b/ct_servmgmt.c
@@ -18,13 +18,8 @@
#include "xmalloc.h"
#include "curvetun.h"
#include "curve.h"
+#include "crypto.h"
#include "ct_servmgmt.h"
-#include "crypto_box_curve25519xsalsa20poly1305.h"
-#include "crypto_auth_hmacsha512256.h"
-
-#define crypto_box_pub_key_size crypto_box_curve25519xsalsa20poly1305_PUBLICKEYBYTES
-
-/* Config line format: alias;serverip|servername;port;udp|tcp;pubkey\n */
struct server_store {
int udp;