diff options
author | Joey Hess <joey@kitenet.net> | 2014-03-12 21:21:10 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2014-03-12 21:41:20 -0400 |
commit | 77693b77a7c7ae09e340e3a609c0c310eeb68fa7 (patch) | |
tree | 667655d2550fa1b513dd2289bd284128f0a23020 /BuildFlags.hs | |
parent | 4bb70698d38aaca746e163c0602ee74da0915d80 (diff) |
webapp: Use securemem for constant time auth token comparisons.
Debian stable does not have securemem, but neither does it have warp-tls,
so just disable use of securemem when not building with https support.
Diffstat (limited to 'BuildFlags.hs')
-rw-r--r-- | BuildFlags.hs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/BuildFlags.hs b/BuildFlags.hs index d5c98aa4e..e36cf6a14 100644 --- a/BuildFlags.hs +++ b/BuildFlags.hs @@ -22,8 +22,8 @@ buildFlags = filter (not . null) #else #warning Building without the webapp. You probably need to install Yesod.. #endif -#ifdef WITH_WEBAPP_HTTPS - , "Webapp-https" +#ifdef WITH_WEBAPP_SECURE + , "Webapp-secure" #endif #ifdef WITH_PAIRING , "Pairing" |