summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorSimon Josefsson <simon@josefsson.org>2009-01-06 23:27:01 +0100
committerSimon Josefsson <simon@josefsson.org>2009-01-06 23:27:01 +0100
commit29225f2443ef21525aa6d57dfd453f25a0e95f1d (patch)
tree724c05a2a3847685140ec7e00f1bbef8bf03a680 /tests
parent2fa07e11f4885c05f115fdc0e66803662d4237d0 (diff)
downloadgnutls-29225f2443ef21525aa6d57dfd453f25a0e95f1d.tar.gz
Fix expect strings to compensate for new certtool -e output.
Diffstat (limited to 'tests')
-rwxr-xr-xtests/pkcs1-padding/pkcs1-pad8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/pkcs1-padding/pkcs1-pad b/tests/pkcs1-padding/pkcs1-pad
index b5a3e083fd..ee5ed1d6d4 100755
--- a/tests/pkcs1-padding/pkcs1-pad
+++ b/tests/pkcs1-padding/pkcs1-pad
@@ -1,6 +1,6 @@
#!/bin/sh
-# Copyright (C) 2004, 2005, 2006, 2008 Free Software Foundation
+# Copyright (C) 2004, 2005, 2006, 2008, 2009 Free Software Foundation
#
# Author: Simon Josefsson
#
@@ -25,7 +25,7 @@ CERTTOOL=${CERTTOOL:-../../src/certtool$EXEEXT}
# Test 1, PKCS#1 pad digestAlgorithm.parameters
-EXPECT1=2101
+EXPECT1=3102
$CERTTOOL --verify-chain --infile $srcdir/pkcs1-pad-ok.pem | tee out1
$CERTTOOL --verify-chain --infile $srcdir/pkcs1-pad-broken.pem | tee out2
@@ -49,7 +49,7 @@ echo "PKCS1-PAD1 OK"
# Test 2, Bleichenbacher's Crypto 06 rump session
-EXPECT2=1001
+EXPECT2=2002
$CERTTOOL --verify-chain --infile $srcdir/pkcs1-pad-ok2.pem | tee out1
$CERTTOOL --verify-chain --infile $srcdir/pkcs1-pad-broken2.pem | tee out2
@@ -74,7 +74,7 @@ echo "PKCS1-PAD2 OK"
# Test 3, forged Starfield certificate,
# by Andrei Pyshkin, Erik Tews and Ralf-Philipp Weinmann.
-EXPECT3=11
+EXPECT3=12
$CERTTOOL --verify-chain --infile $srcdir/pkcs1-pad-broken3.pem | tee out1