aboutsummaryrefslogtreecommitdiff
path: root/src/lib/crypt_ops
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-06-21 14:02:11 -0400
committerNick Mathewson <nickm@torproject.org>2018-06-21 14:05:33 -0400
commit999f7984e189250216fcd0bbbe1c4c8d1b0c380b (patch)
treecb4fe061d96917b9c42680955a207a9ac5b4acbe /src/lib/crypt_ops
parent8918bd90e9ddc135c0519177a07cd7a8c18859ed (diff)
downloadtor-999f7984e189250216fcd0bbbe1c4c8d1b0c380b.tar.gz
tor-999f7984e189250216fcd0bbbe1c4c8d1b0c380b.zip
New script to check includes for modularity violations
Includes configuration files to enforce these rules on lib and common. Of course, "common" *is* a modularity violation right now, so these rules aren't as strict as I would like them to be.
Diffstat (limited to 'src/lib/crypt_ops')
-rw-r--r--src/lib/crypt_ops/.may_include14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/lib/crypt_ops/.may_include b/src/lib/crypt_ops/.may_include
new file mode 100644
index 0000000000..6eefec1581
--- /dev/null
+++ b/src/lib/crypt_ops/.may_include
@@ -0,0 +1,14 @@
+orconfig.h
+lib/cc/*.h
+lib/crypt_ops/*.h
+lib/ctime/*.h
+lib/err/*.h
+lib/testsupport/testsupport.h
+
+trunnel/pwbox.h
+
+keccak-tiny/*.h
+ed25519/*.h
+
+# XXX I'd like to remove this.
+common/*.h