summaryrefslogtreecommitdiff
path: root/src/lib/tls
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/tls')
-rw-r--r--src/lib/tls/buffers_tls.c4
-rw-r--r--src/lib/tls/tortls.c11
-rw-r--r--src/lib/tls/tortls.h4
3 files changed, 9 insertions, 10 deletions
diff --git a/src/lib/tls/buffers_tls.c b/src/lib/tls/buffers_tls.c
index 0a57b95529..5accb2d91a 100644
--- a/src/lib/tls/buffers_tls.c
+++ b/src/lib/tls/buffers_tls.c
@@ -8,13 +8,13 @@
#include "orconfig.h"
#include <stddef.h>
#include "common/buffers.h"
-#include "common/buffers_tls.h"
+#include "lib/tls/buffers_tls.h"
#include "common/compat.h"
#include "lib/compress/compress.h"
#include "common/util.h"
#include "lib/cc/torint.h"
#include "common/torlog.h"
-#include "common/tortls.h"
+#include "lib/tls/tortls.h"
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif
diff --git a/src/lib/tls/tortls.c b/src/lib/tls/tortls.c
index 419d9c9316..ac45175c7d 100644
--- a/src/lib/tls/tortls.c
+++ b/src/lib/tls/tortls.c
@@ -24,10 +24,10 @@
#include <ws2tcpip.h>
#endif
-#include "common/crypto.h"
-#include "common/crypto_rand.h"
-#include "common/crypto_dh.h"
-#include "common/crypto_util.h"
+#include "lib/crypt_ops/crypto.h"
+#include "lib/crypt_ops/crypto_rand.h"
+#include "lib/crypt_ops/crypto_dh.h"
+#include "lib/crypt_ops/crypto_util.h"
#include "common/compat.h"
/* Some versions of OpenSSL declare SSL_get_selected_srtp_profile twice in
@@ -52,7 +52,7 @@ DISABLE_GCC_WARNING(redundant-decls)
ENABLE_GCC_WARNING(redundant-decls)
#define TORTLS_PRIVATE
-#include "common/tortls.h"
+#include "lib/tls/tortls.h"
#include "common/util.h"
#include "common/torlog.h"
#include "common/container.h"
@@ -2660,4 +2660,3 @@ evaluate_ecgroup_for_tls(const char *ecgroup)
return ret;
}
-
diff --git a/src/lib/tls/tortls.h b/src/lib/tls/tortls.h
index c7b319761d..901cae49f4 100644
--- a/src/lib/tls/tortls.h
+++ b/src/lib/tls/tortls.h
@@ -11,8 +11,8 @@
* \brief Headers for tortls.c
**/
-#include "common/crypto_rsa.h"
-#include "common/compat_openssl.h"
+#include "lib/crypt_ops/crypto_rsa.h"
+#include "lib/crypt_ops/compat_openssl.h"
#include "common/compat.h"
#include "common/testsupport.h"