blob: 8c83f6eff6307ef31207c35624ac212c7a6a4d57 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
#!/bin/sh
if [ ! -d output ]
then
mkdir output
fi
cd ..
openssl genpkey -algorithm RSA -out rsa2048key.pem -pkeyopt rsa_keygen_bits:2048
openssl req -key rsa2048key.pem -new -x509 -days 365 -out rsa2048cert.pem -subj "/C=DE/ST=NRW/L=Bochum/O=TLS-Attacker/CN=tls-attacker.de"
if [ ! -d TLS-Attacker ]
then
git clone https://github.com/RUB-NDS/TLS-Attacker.git
fi
cd TLS-Attacker
git checkout .
git pull
./mvnw clean package -DskipTests=true
cd ../../../../
make clean
export ASAN_OPTIONS=check_initialization_order=true
if [ -n "$CC" ]
then ./configure.py --with-sanitizers --disable-shared --with-debug-info --with-bzip2 --with-lzma --with-sqlite --with-zlib --cc="$CC" --cc-bin="$CXX"
else ./configure.py --with-sanitizers --disable-shared --with-debug-info --with-bzip2 --with-lzma --with-sqlite --with-zlib
fi
make -j4
|