Skip to content

Commit 2f07742

Browse files
committed
Update to the latest commit of ProtocolState-Fuzzer
1 parent c7a1e89 commit 2f07742

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

install.sh

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
77
readonly SCRIPT_DIR
88
readonly PATCHES_DIR="$SCRIPT_DIR/experiments/patches"
99

10-
readonly PROTOCOLSTATEFUZZER_COMMIT="68e0eea"
10+
readonly PROTOCOLSTATEFUZZER_COMMIT="398c9bc"
1111
readonly PROTOCOLSTATEFUZZER_REP_URL="https://github.com/protocol-fuzzing/protocol-state-fuzzer.git"
1212
readonly PROTOCOLSTATEFUZZER_FOLDER="ProtocolState-Fuzzer"
1313

@@ -23,17 +23,17 @@ function check_java() {
2323
if command -v apt-get &> /dev/null
2424
then
2525
echo "Installing java using apt-get"
26-
sudo apt-get install openjdk-11-jdk
26+
sudo apt-get install openjdk-17-jdk
2727
else
28-
echo "Install JDK >= 11, add it to PATH and re-run"
28+
echo "Install JDK >= 17, add it to PATH and re-run"
2929
exit
3030
fi
3131
else
3232
java_vm=$(java -version 2>&1 >/dev/null | grep -o "Server VM\|Client VM")
3333
if [[ ! $java_vm == "Server VM" ]]
3434
then
3535
echo "Required Java Server VM (a JDK instead of JRE), found $java_vm"
36-
echo "Install JDK >= 11, add it to PATH and re-run"
36+
echo "Install JDK >= 17, add it to PATH and re-run"
3737
exit
3838
fi
3939
fi
@@ -102,10 +102,10 @@ function install_tlsattacker() {
102102
check_java
103103
check_mvn
104104

105-
# Checkout ProtocolState-Fuzzer repo, apply Java 11 compatibility patch, and install the library
105+
# Checkout and install ProtocolState-Fuzzer
106106
install_protocolstatefuzzer
107107

108-
# Checkout TLS-Attacker repo, patch it and install the library
108+
# Checkout TLS-Attacker repo, patch it and install it
109109
install_tlsattacker
110110

111111
# Install DTLS-Fuzzer

0 commit comments

Comments
 (0)