Blob Blame History Raw
diff --git a/tests/dsa/testdsa b/tests/dsa/testdsa
index 4da172f..394d60a 100755
--- a/tests/dsa/testdsa
+++ b/tests/dsa/testdsa
@@ -23,7 +23,7 @@
 srcdir="${srcdir:-.}"
 SERV="${SERV:-../../src/gnutls-serv} -q"
 CLI="${CLI:-../../src/gnutls-cli}"
-PORT="${PORT:-5558}"
+PORT="$(((($$<<15)|RANDOM) % 63001 + 2000))"
 DEBUG=""
 unset RETCODE