Fix tocsp: we don't need -trust_other any more.
authorDr. Stephen Henson <steve@openssl.org>
Fri, 21 Dec 2012 18:32:33 +0000 (18:32 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Fri, 21 Dec 2012 18:32:33 +0000 (18:32 +0000)
Fix typo.

test/tocsp

index 9f992b1..5fc291c 100644 (file)
@@ -8,7 +8,7 @@ check_time="-attime 1355875200"
 test_ocsp () {
 
        $cmd base64 -d -in $ocspdir/$1 | \
-               $cmd ocsp -respin - -partial_chain -trust_other $check_time \
+               $cmd ocsp -respin - -partial_chain $check_time \
                -CAfile $ocspdir/$2 -verify_other $ocspdir/$2 -CApath /dev/null
        [ $? != $3 ] && exit 1
 }
@@ -137,7 +137,7 @@ test_ocsp ND2.ors ISIC_ND2_Issuer_Root.pem 0
 echo "NON-DELEGATED; Root CA -> EE"
 test_ocsp ND3.ors ISIC_ND3_Issuer_Root.pem 0
 echo "DELEGATED; Intermediate CA -> EE"
-test_ocsp D1.ors ISIC_D1_Issuer_ICA.pem
+test_ocsp D1.ors ISIC_D1_Issuer_ICA.pem 0
 echo "DELEGATED; Root CA -> Intermediate CA"
 test_ocsp D2.ors ISIC_D2_Issuer_Root.pem 0
 echo "DELEGATED; Root CA -> EE"