From b5c28af43177c2f4c025b96eb66360ea73232f60 Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Fri, 27 Dec 2019 19:10:20 +0200 Subject: [PATCH] tests: Remove unnecessary copying of ocsp-multi-server-cache.der This file is not being modified, so the original one from the auth_serv directory can be used directly. Signed-off-by: Jouni Malinen --- tests/hwsim/auth_serv/as.conf | 2 +- tests/hwsim/auth_serv/as2.conf | 2 +- tests/hwsim/start.sh | 2 -- 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/tests/hwsim/auth_serv/as.conf b/tests/hwsim/auth_serv/as.conf index bc3ae692a..3c0eda22f 100644 --- a/tests/hwsim/auth_serv/as.conf +++ b/tests/hwsim/auth_serv/as.conf @@ -12,7 +12,7 @@ ca_cert=auth_serv/ca.pem server_cert=auth_serv/server.pem private_key=auth_serv/server.key ocsp_stapling_response=LOGDIR/ocsp-server-cache.der -ocsp_stapling_response_multi=LOGDIR/ocsp-multi-server-cache.der +ocsp_stapling_response_multi=auth_serv/ocsp-multi-server-cache.der server_id=server.w1.fi eap_sim_db=unix:/tmp/hlr_auc_gw.sock dh_file=auth_serv/dh.conf diff --git a/tests/hwsim/auth_serv/as2.conf b/tests/hwsim/auth_serv/as2.conf index 1c2697f51..963db7aea 100644 --- a/tests/hwsim/auth_serv/as2.conf +++ b/tests/hwsim/auth_serv/as2.conf @@ -12,7 +12,7 @@ ca_cert=auth_serv/ca.pem server_cert=auth_serv/server.pem private_key=auth_serv/server.key ocsp_stapling_response=LOGDIR/ocsp-server-cache.der -ocsp_stapling_response_multi=LOGDIR/ocsp-multi-server-cache.der +ocsp_stapling_response_multi=auth_serv/ocsp-multi-server-cache.der server_id=server2.w1.fi eap_sim_db=unix:/tmp/hlr_auc_gw.sock db=LOGDIR/hostapd.db dh_file=auth_serv/dh.conf diff --git a/tests/hwsim/start.sh b/tests/hwsim/start.sh index de2b5f0b5..f09f407c4 100755 --- a/tests/hwsim/start.sh +++ b/tests/hwsim/start.sh @@ -155,8 +155,6 @@ if [ ! -r $LOGDIR/ocsp-server-cache.der ]; then cp $DIR/auth_serv/ocsp-server-cache.der $LOGDIR/ocsp-server-cache.der fi -cp $DIR/auth_serv/ocsp-multi-server-cache.der $LOGDIR/ocsp-multi-server-cache.der - openssl ocsp -index $DIR/auth_serv/index.txt \ -rsigner $DIR/auth_serv/ocsp-responder.pem \ -rkey $DIR/auth_serv/ocsp-responder.key \