summaryrefslogtreecommitdiff
path: root/lib/tls.h
diff options
context:
space:
mode:
authorLinus Nordberg <linus@nordberg.se>2014-02-05 11:10:02 +0100
committerLinus Nordberg <linus@nordberg.se>2014-02-05 11:10:02 +0100
commit3d954bfd2f658ac05a0f20a1241738ed3e3fdd28 (patch)
treed95b364fbab298c9b94c9c729afc98904c7c5bb0 /lib/tls.h
parent67bdfa83f1879312fef0fbac769f6fb45df12d1a (diff)
Move lib to the root.
Diffstat (limited to 'lib/tls.h')
-rw-r--r--lib/tls.h23
1 files changed, 0 insertions, 23 deletions
diff --git a/lib/tls.h b/lib/tls.h
deleted file mode 100644
index 51f2a64..0000000
--- a/lib/tls.h
+++ /dev/null
@@ -1,23 +0,0 @@
-/* Copyright 2010-2012 NORDUnet A/S. All rights reserved.
- See LICENSE for licensing information. */
-
-#if defined (__cplusplus)
-extern "C" {
-#endif
-
-int tls_init (void);
-int tls_init_conn (struct rs_connection *conn);
-int tls_verify_cert (struct rs_connection *conn);
-
-#define OPENSSL_VER(a,b,c,d,e) \
- (((a)<<28) | \
- ((b)<<20) | \
- ((c)<<12) | \
- ((d)<< 4) | \
- (e))
-#define OPENSSL_V(a,b,c,d) \
- OPENSSL_VER((a),(b),(c),(d)-'a'+1,0xf)
-
-#if defined (__cplusplus)
-}
-#endif