summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Rühsen <tim.ruehsen@gmx.de>2018-05-23 22:24:05 +0200
committerTim Rühsen <tim.ruehsen@gmx.de>2018-06-01 16:39:43 +0200
commitc344c8c8143e0293a41c980d158ef8d61bfbc0e0 (patch)
treef83f05d417deef43d35322a16dd40a1a6d9b03f0
parentd2be84d07646b86d3092643d66301df2703886bf (diff)
downloadgnutls-c344c8c8143e0293a41c980d158ef8d61bfbc0e0.tar.gz
Fix tests 'ocsp-must-staple-connection' and 'ocsp-tls-connection'
Signed-off-by: Tim Rühsen <tim.ruehsen@gmx.de>
-rwxr-xr-xtests/ocsp-tests/ocsp-must-staple-connection1
-rwxr-xr-xtests/ocsp-tests/ocsp-tls-connection1
2 files changed, 2 insertions, 0 deletions
diff --git a/tests/ocsp-tests/ocsp-must-staple-connection b/tests/ocsp-tests/ocsp-must-staple-connection
index 5ec896207d..111c287a4c 100755
--- a/tests/ocsp-tests/ocsp-must-staple-connection
+++ b/tests/ocsp-tests/ocsp-must-staple-connection
@@ -101,6 +101,7 @@ echo "=== Generating good server certificate ==="
rm -f "$TEMPLATE_FILE"
cp "${srcdir}/ocsp-tests/certs/server_good.template" "$TEMPLATE_FILE"
+chmod u+w "$TEMPLATE_FILE"
echo "ocsp_uri=http://localhost:${OCSP_PORT}/ocsp/" >>"$TEMPLATE_FILE"
echo "tls_feature = 5" >>"$TEMPLATE_FILE"
diff --git a/tests/ocsp-tests/ocsp-tls-connection b/tests/ocsp-tests/ocsp-tls-connection
index aa3bf49e1e..4b1e3025c7 100755
--- a/tests/ocsp-tests/ocsp-tls-connection
+++ b/tests/ocsp-tests/ocsp-tls-connection
@@ -99,6 +99,7 @@ echo "=== Generating good server certificate ==="
rm -f "$TEMPLATE_FILE"
cp "${srcdir}/ocsp-tests/certs/server_good.template" "$TEMPLATE_FILE"
+chmod u+w "$TEMPLATE_FILE"
echo "ocsp_uri=http://localhost:${OCSP_PORT}/ocsp/" >>"$TEMPLATE_FILE"
# Generate certificates with the random port