]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
updated for new output
authorNikos Mavrogiannopoulos <nmav@gnutls.org>
Tue, 20 Nov 2012 17:10:37 +0000 (18:10 +0100)
committerNikos Mavrogiannopoulos <nmav@gnutls.org>
Tue, 20 Nov 2012 17:10:37 +0000 (18:10 +0100)
tests/cert-tests/aki
tests/cert-tests/aki-cert.pem
tests/cert-tests/bmpstring.pem
tests/cert-tests/ca-no-pathlen.pem
tests/cert-tests/no-ca-or-pathlen.pem
tests/cert-tests/pathlen

index e0722a0532162e7337d3f2efa3bcfd971a338064..c212471169806c782fce26430d3adad8f2a9f63e 100755 (executable)
@@ -31,11 +31,11 @@ $CERTTOOL --certificate-info --infile $srcdir/aki-cert.pem \
 diff $srcdir/aki-cert.pem tmp-aki.pem
 rc=$?
 
-rm -f tmp-aki.pem
-
 # We're done.
 if test "$rc" != "0"; then
   exit $rc
 fi
 
+rm -f tmp-aki.pem
+
 exit 0
index f2d8992a596df36bfd983df6982354a0471fadd0..c12d0bed3e401ef841a87f7f531bb3a32e6ee923 100644 (file)
@@ -7,7 +7,7 @@ X.509 Certificate Information:
                Not After: Sun Mar 24 23:59:59 UTC 2019
        Subject: C=US,O=VeriSign\, Inc.,OU=VeriSign Trust Network,OU=Terms of use at https://www.verisign.com/rpa (c)09,CN=VeriSign Class 3 Secure Server CA - G2
        Subject Public Key Algorithm: RSA
-       Certificate Security Level: Legacy (2048 bits)
+       Algorithm Security Level: Legacy (2048 bits)
                Modulus (bits 2048):
                        00:d4:56:8f:57:3b:37:28:a6:40:63:d2:95:d5:05:74
                        da:b5:19:6a:96:d6:71:57:2f:e2:c0:34:8c:a0:95:b3
index a1cbe141062c17be3b19ac24ebb8aedf8fe4bbad..0bd2548edf8aac13a175c6bfac08058c7c5e8b90 100644 (file)
@@ -7,7 +7,7 @@ X.509 Certificate Information:
                Not After: Wed Nov 23 21:59:59 UTC 2016
        Subject: serialNumber=3,O=Hellenic Republic,CN=CSCA-HELLAS,C=GR,EMAIL=csca@passport.gov.gr
        Subject Public Key Algorithm: RSA
-       Certificate Security Level: High (4096 bits)
+       Algorithm Security Level: High (4096 bits)
                Modulus (bits 4096):
                        00:e0:95:b2:04:5a:91:78:1f:7f:1c:33:7f:d0:3a:e1
                        2c:a7:4c:19:be:43:30:c2:8b:b7:1a:1d:9d:80:43:30
index 070be434622500d7b41d8b2f7496ee63400f44e8..f57a033bcbc0ba912f4d796778463271a406ecd9 100644 (file)
@@ -7,7 +7,7 @@ X.509 Certificate Information:
                Not After: Sat Jan 27 10:00:06 UTC 2007
        Subject: O=GnuTLS test certificate
        Subject Public Key Algorithm: RSA
-       Certificate Security Level: Insecure (512 bits)
+       Algorithm Security Level: Insecure (512 bits)
                Modulus (bits 512):
                        00:a1:63:53:6b:54:95:ac:3c:a4:4b:4b:6a:ba:c0:9c
                        11:ad:28:dd:03:a8:c0:f4:17:bf:18:cd:9f:b3:5a:d1
index 0a879191dbc0a82bcacd957008c8f7b7d6c8ff4f..a255e077ad6f52b20a1ed24817db12708aec16e2 100644 (file)
@@ -7,7 +7,7 @@ X.509 Certificate Information:
                Not After: Fri Aug 25 23:59:59 UTC 2000
        Subject: O=VeriSign\, Inc.,OU=VeriSign Trust Network,OU=www.verisign.com/repository/RPA Incorp. by Ref.\,LIAB.LTD(c)98,OU=Persona Not Validated,OU=Digital ID Class 1 - Netscape,CN=Simon Josefsson,EMAIL=simon@josefsson.org
        Subject Public Key Algorithm: RSA
-       Certificate Security Level: Weak (1024 bits)
+       Algorithm Security Level: Weak (1024 bits)
                Modulus (bits 1024):
                        00:c9:0c:ce:8a:fe:71:46:9b:ca:1d:e5:90:12:a5:11
                        0b:c6:2d:c4:33:c6:19:e8:60:59:4e:3f:64:3d:e4:f7
index c7d994cc576a0d99652337226c2d0394c906cdb1..5bfdbc9b3fa4b027c035155743b5a13e886ac673 100755 (executable)
@@ -35,10 +35,12 @@ rc1=$?
 diff $srcdir/no-ca-or-pathlen.pem new-no-ca-or-pathlen.pem
 rc2=$?
 
-rm -f new-ca-no-pathlen.pem new-no-ca-or-pathlen.pem
 
 # We're done.
 if test "$rc1" != "0"; then
   exit $rc1
 fi
+
+rm -f new-ca-no-pathlen.pem new-no-ca-or-pathlen.pem
+
 exit $rc2