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