mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-20 10:12:15 +01:00
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.)
This commit is contained in:
parent
d303d6244e
commit
50d15e06b3
@ -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/
|
||||
|
||||
|
@ -1,3 +1,7 @@
|
||||
/* trunnel-impl.h -- copied from Trunnel v1.2
|
||||
* https://gitweb.torproject.org/trunnel.git
|
||||
* You probably shouldn't edit this file.
|
||||
*/
|
||||
/* trunnel-impl.h -- Implementation helpers for trunnel, included by
|
||||
* generated trunnel files
|
||||
*
|
||||
|
@ -1,3 +1,7 @@
|
||||
/* trunnel.c -- copied from Trunnel v1.2
|
||||
* https://gitweb.torproject.org/trunnel.git
|
||||
* You probably shouldn't edit this file.
|
||||
*/
|
||||
/* trunnel.c -- Helper functions to implement trunnel.
|
||||
*
|
||||
* Copyright 2014, The Tor Project, Inc.
|
||||
|
@ -1,3 +1,7 @@
|
||||
/* trunnel.h -- copied from Trunnel v1.2
|
||||
* https://gitweb.torproject.org/trunnel.git
|
||||
* You probably shouldn't edit this file.
|
||||
*/
|
||||
/* trunnel.h -- Public declarations for trunnel, to be included
|
||||
* in trunnel header files.
|
||||
|
||||
|
@ -1,5 +1,6 @@
|
||||
/* pwbox.c -- generated by Trunnel v1.1-dev.
|
||||
/* pwbox.c -- generated by Trunnel v1.2.
|
||||
* https://gitweb.torproject.org/trunnel.git
|
||||
* You probably shouldn't edit this file.
|
||||
*/
|
||||
#include <stdlib.h>
|
||||
#include "trunnel-impl.h"
|
||||
|
@ -1,5 +1,6 @@
|
||||
/* pwbox.h -- generated by by Trunnel v1.1-dev.
|
||||
/* pwbox.h -- generated by by Trunnel v1.2.
|
||||
* https://gitweb.torproject.org/trunnel.git
|
||||
* You probably shouldn't edit this file.
|
||||
*/
|
||||
#ifndef TRUNNEL_PWBOX_H
|
||||
#define TRUNNEL_PWBOX_H
|
||||
|
Loading…
Reference in New Issue
Block a user