Blame SOURCES/gnutls-3.3.8-testdsa-rndport.patch

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