summaryrefslogtreecommitdiff
path: root/scripts/codegen
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2014-09-25 14:49:00 -0400
committerNick Mathewson <nickm@torproject.org>2014-09-25 14:49:00 -0400
commit50d15e06b32ce743ac4da532f29abb3781c4b990 (patch)
treece7ffcaf0764107fc044849ed5cd4b98f3ff8de3 /scripts/codegen
parentd303d6244e097dd2f5256d11d3a529cf63398d69 (diff)
downloadtor-50d15e06b32ce743ac4da532f29abb3781c4b990.tar.gz
tor-50d15e06b32ce743ac4da532f29abb3781c4b990.zip
Use --require-version to prevent running trunnel pre-1.2
(Also, regenerate trunnel stuff with trunnel 1.2. This just adds a few comments to our output.)
Diffstat (limited to 'scripts/codegen')
-rwxr-xr-xscripts/codegen/run_trunnel.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/codegen/run_trunnel.sh b/scripts/codegen/run_trunnel.sh
index df84a6e2a7..5f694ce6c9 100755
--- a/scripts/codegen/run_trunnel.sh
+++ b/scripts/codegen/run_trunnel.sh
@@ -5,7 +5,7 @@ if test "x$TRUNNEL_PATH" != "x"; then
export PYTHONPATH
fi
-python -m trunnel ./src/trunnel/*.trunnel
+python -m trunnel --require-version=1.2 ./src/trunnel/*.trunnel
-python -m trunnel --write-c-files --target-dir=./src/ext/trunnel/
+python -m trunnel --require-version=1.2 --write-c-files --target-dir=./src/ext/trunnel/