diff options
author | Tim Rühsen <tim.ruehsen@gmx.de> | 2018-05-23 22:24:05 +0200 |
---|---|---|
committer | Tim Rühsen <tim.ruehsen@gmx.de> | 2018-06-01 16:39:43 +0200 |
commit | c344c8c8143e0293a41c980d158ef8d61bfbc0e0 (patch) | |
tree | f83f05d417deef43d35322a16dd40a1a6d9b03f0 | |
parent | d2be84d07646b86d3092643d66301df2703886bf (diff) | |
download | gnutls-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-x | tests/ocsp-tests/ocsp-must-staple-connection | 1 | ||||
-rwxr-xr-x | tests/ocsp-tests/ocsp-tls-connection | 1 |
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 |