]> git.ipfire.org Git - thirdparty/hostap.git/commit - tests/hwsim/test_ap_eap.py
tests: Fix openssl ocsp command and check for errors
authorJohannes Berg <johannes.berg@intel.com>
Tue, 18 Apr 2017 19:18:14 +0000 (21:18 +0200)
committerJouni Malinen <j@w1.fi>
Tue, 9 May 2017 20:36:36 +0000 (23:36 +0300)
commitd40d959e48384874cb9b3d41539b743b7b30057b
tree30d7e2e4c04e3e0c9324755ec0d0543c9568b3bf
parent85cff4b0d8f3f44d04292ef954861cfeca292ff5
tests: Fix openssl ocsp command and check for errors

Fix the openssl ocsp command line and check if it returns an error - so
that instead of having something unusable later we error out
immediately. Moving the -sha256 argument earlier fixes hash function use
for the OCSP request generation (the old version used SHA-1).

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
tests/hwsim/test_ap_eap.py