Commit 85091281 authored by Dr. Stephen Henson's avatar Dr. Stephen Henson
Browse files

Fix OCSP tests.



OCSP verification changes mean the OCSP tests now need -trusted_first

Reviewed-by: default avatarMatt Caswell <matt@openssl.org>
parent d3a9eacc
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -8,7 +8,7 @@ check_time="-attime 1355875200"
test_ocsp () {

	$cmd base64 -d -in $ocspdir/$1 | \
		$cmd ocsp -respin - -partial_chain $check_time \
		$cmd ocsp -respin - -partial_chain $check_time -trusted_first \
		-CAfile $ocspdir/$2 -verify_other $ocspdir/$2 -CApath /dev/null
	[ $? != $3 ] && exit 1
}