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 <j@w1.fi>
This commit is contained in:
Jouni Malinen 2019-12-27 19:10:20 +02:00
parent 6cd59688b8
commit b5c28af431
3 changed files with 2 additions and 4 deletions

View file

@ -12,7 +12,7 @@ ca_cert=auth_serv/ca.pem
server_cert=auth_serv/server.pem server_cert=auth_serv/server.pem
private_key=auth_serv/server.key private_key=auth_serv/server.key
ocsp_stapling_response=LOGDIR/ocsp-server-cache.der 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 server_id=server.w1.fi
eap_sim_db=unix:/tmp/hlr_auc_gw.sock eap_sim_db=unix:/tmp/hlr_auc_gw.sock
dh_file=auth_serv/dh.conf dh_file=auth_serv/dh.conf

View file

@ -12,7 +12,7 @@ ca_cert=auth_serv/ca.pem
server_cert=auth_serv/server.pem server_cert=auth_serv/server.pem
private_key=auth_serv/server.key private_key=auth_serv/server.key
ocsp_stapling_response=LOGDIR/ocsp-server-cache.der 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 server_id=server2.w1.fi
eap_sim_db=unix:/tmp/hlr_auc_gw.sock db=LOGDIR/hostapd.db eap_sim_db=unix:/tmp/hlr_auc_gw.sock db=LOGDIR/hostapd.db
dh_file=auth_serv/dh.conf dh_file=auth_serv/dh.conf

View file

@ -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 cp $DIR/auth_serv/ocsp-server-cache.der $LOGDIR/ocsp-server-cache.der
fi fi
cp $DIR/auth_serv/ocsp-multi-server-cache.der $LOGDIR/ocsp-multi-server-cache.der
openssl ocsp -index $DIR/auth_serv/index.txt \ openssl ocsp -index $DIR/auth_serv/index.txt \
-rsigner $DIR/auth_serv/ocsp-responder.pem \ -rsigner $DIR/auth_serv/ocsp-responder.pem \
-rkey $DIR/auth_serv/ocsp-responder.key \ -rkey $DIR/auth_serv/ocsp-responder.key \