aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2014-12-17 14:27:04 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2014-12-17 14:27:04 +0000
commit4178270ca52b46428b0aa9dc7fcf0fd7f03d8c7a (patch)
treef956f9ada85a33526768615ead1bb84a44bb355c
parent8525f71340f4edaeb9cdf9f57766dd4a4a0f993a (diff)
downloadrspamd-4178270ca52b46428b0aa9dc7fcf0fd7f03d8c7a.tar.gz
rspamd-4178270ca52b46428b0aa9dc7fcf0fd7f03d8c7a.zip
Add siphash contrib code.
-rw-r--r--.gitmodules3
-rw-r--r--CMakeLists.txt3
m---------contrib/siphash0
3 files changed, 6 insertions, 0 deletions
diff --git a/.gitmodules b/.gitmodules
index e7a280ee4..9949f55e5 100644
--- a/.gitmodules
+++ b/.gitmodules
@@ -13,3 +13,6 @@
[submodule "contrib/snowball"]
path = contrib/snowball
url = https://github.com/vstakhov/snowball
+[submodule "contrib/siphash"]
+ path = contrib/siphash
+ url = https://github.com/vstakhov/siphash
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 58b9b6471..33348ac6b 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -830,6 +830,8 @@ INCLUDE_DIRECTORIES("${CMAKE_SOURCE_DIR}/src"
"${CMAKE_SOURCE_DIR}/contrib/http-parser"
"${CMAKE_SOURCE_DIR}/contrib/libottery"
"${CMAKE_SOURCE_DIR}/contrib/xxhash"
+ "${CMAKE_SOURCE_DIR}/contrib/snowball/include"
+ "${CMAKE_SOURCE_DIR}/contrib/siphash"
"${CMAKE_SOURCE_DIR}/src/rdns/include")
################################ SUBDIRS SECTION ###########################
@@ -850,6 +852,7 @@ ADD_SUBDIRECTORY(contrib/xxhash)
ADD_SUBDIRECTORY(contrib/http-parser)
ADD_SUBDIRECTORY(contrib/libottery)
ADD_SUBDIRECTORY(contrib/snowball)
+ADD_SUBDIRECTORY(contrib/siphash)
ADD_SUBDIRECTORY(src)
ADD_SUBDIRECTORY(test)
diff --git a/contrib/siphash b/contrib/siphash
new file mode 160000
+Subproject d8a25fc9442b069459d542edfa2e241ec49b6c8