Allow SHA-1 in test scripts
diff --git a/tests/ssl-opt.sh b/tests/ssl-opt.sh
index ca0a1f1..f498732 100755
--- a/tests/ssl-opt.sh
+++ b/tests/ssl-opt.sh
@@ -561,6 +561,10 @@
 G_SRV="$G_SRV -p $SRV_PORT"
 G_CLI="$G_CLI -p +SRV_PORT localhost"
 
+# Allow SHA-1, because many of our test certificates use it
+P_SRV="$P_SRV allow_sha1=1"
+P_CLI="$P_CLI allow_sha1=1"
+
 # Also pick a unique name for intermediate files
 SRV_OUT="srv_out.$$"
 CLI_OUT="cli_out.$$"