OLD | NEW |
1 # test/cms-test.pl | 1 # test/cms-test.pl |
2 # Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL | 2 # Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL |
3 # project. | 3 # project. |
4 # | 4 # |
5 # ==================================================================== | 5 # ==================================================================== |
6 # Copyright (c) 2008 The OpenSSL Project. All rights reserved. | 6 # Copyright (c) 2008 The OpenSSL Project. All rights reserved. |
7 # | 7 # |
8 # Redistribution and use in source and binary forms, with or without | 8 # Redistribution and use in source and binary forms, with or without |
9 # modification, are permitted provided that the following conditions | 9 # modification, are permitted provided that the following conditions |
10 # are met: | 10 # are met: |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
47 # HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, | 47 # HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, |
48 # STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) | 48 # STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) |
49 # ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED | 49 # ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED |
50 # OF THE POSSIBILITY OF SUCH DAMAGE. | 50 # OF THE POSSIBILITY OF SUCH DAMAGE. |
51 # ==================================================================== | 51 # ==================================================================== |
52 | 52 |
53 # CMS, PKCS7 consistency test script. Run extensive tests on | 53 # CMS, PKCS7 consistency test script. Run extensive tests on |
54 # OpenSSL PKCS#7 and CMS implementations. | 54 # OpenSSL PKCS#7 and CMS implementations. |
55 | 55 |
56 my $ossl_path; | 56 my $ossl_path; |
57 my $redir = " 2>cms.err 1>cms.out"; | 57 my $redir = " 2> cms.err > cms.out"; |
| 58 # Make VMS work |
| 59 if ( $^O eq "VMS" && -f "OSSLX:openssl.exe" ) { |
| 60 $ossl_path = "pipe mcr OSSLX:openssl"; |
| 61 } |
58 # Make MSYS work | 62 # Make MSYS work |
59 if ( $^O eq "MSWin32" && -f "../apps/openssl.exe" ) { | 63 elsif ( $^O eq "MSWin32" && -f "../apps/openssl.exe" ) { |
60 $ossl_path = "cmd /c ..\\apps\\openssl"; | 64 $ossl_path = "cmd /c ..\\apps\\openssl"; |
61 } | 65 } |
62 elsif ( -f "../apps/openssl$ENV{EXE_EXT}" ) { | 66 elsif ( -f "../apps/openssl$ENV{EXE_EXT}" ) { |
63 $ossl_path = "../util/shlib_wrap.sh ../apps/openssl"; | 67 $ossl_path = "../util/shlib_wrap.sh ../apps/openssl"; |
64 } | 68 } |
65 elsif ( -f "..\\out32dll\\openssl.exe" ) { | 69 elsif ( -f "..\\out32dll\\openssl.exe" ) { |
66 $ossl_path = "..\\out32dll\\openssl.exe"; | 70 $ossl_path = "..\\out32dll\\openssl.exe"; |
67 } | 71 } |
68 elsif ( -f "..\\out32\\openssl.exe" ) { | 72 elsif ( -f "..\\out32\\openssl.exe" ) { |
69 $ossl_path = "..\\out32\\openssl.exe"; | 73 $ossl_path = "..\\out32\\openssl.exe"; |
70 } | 74 } |
71 else { | 75 else { |
72 die "Can't find OpenSSL executable"; | 76 die "Can't find OpenSSL executable"; |
73 } | 77 } |
74 | 78 |
75 my $pk7cmd = "$ossl_path smime "; | 79 my $pk7cmd = "$ossl_path smime "; |
76 my $cmscmd = "$ossl_path cms "; | 80 my $cmscmd = "$ossl_path cms "; |
77 my $smdir = "smime-certs"; | 81 my $smdir = "smime-certs"; |
78 my $halt_err = 1; | 82 my $halt_err = 1; |
79 | 83 |
80 my $badcmd = 0; | 84 my $badcmd = 0; |
81 my $ossl8 = `$ossl_path version -v` =~ /0\.9\.8/; | 85 my $ossl8 = `$ossl_path version -v` =~ /0\.9\.8/; |
82 | 86 |
83 my @smime_pkcs7_tests = ( | 87 my @smime_pkcs7_tests = ( |
84 | 88 |
85 [ | 89 [ |
86 "signed content DER format, RSA key", | 90 "signed content DER format, RSA key", |
87 "-sign -in smcont.txt -outform DER -nodetach" | 91 "-sign -in smcont.txt -outform \"DER\" -nodetach" |
88 . " -certfile $smdir/smroot.pem" | 92 . " -certfile $smdir/smroot.pem" |
89 . " -signer $smdir/smrsa1.pem -out test.cms", | 93 . " -signer $smdir/smrsa1.pem -out test.cms", |
90 "-verify -in test.cms -inform DER " | 94 "-verify -in test.cms -inform \"DER\" " |
91 . " -CAfile $smdir/smroot.pem -out smtst.txt" | 95 . " \"-CAfile\" $smdir/smroot.pem -out smtst.txt" |
92 ], | 96 ], |
93 | 97 |
94 [ | 98 [ |
95 "signed detached content DER format, RSA key", | 99 "signed detached content DER format, RSA key", |
96 "-sign -in smcont.txt -outform DER" | 100 "-sign -in smcont.txt -outform \"DER\"" |
97 . " -signer $smdir/smrsa1.pem -out test.cms", | 101 . " -signer $smdir/smrsa1.pem -out test.cms", |
98 "-verify -in test.cms -inform DER " | 102 "-verify -in test.cms -inform \"DER\" " |
99 . " -CAfile $smdir/smroot.pem -out smtst.txt -content smcont.txt" | 103 . " \"-CAfile\" $smdir/smroot.pem -out smtst.txt -content smcont.txt" |
100 ], | 104 ], |
101 | 105 |
102 [ | 106 [ |
103 "signed content test streaming BER format, RSA", | 107 "signed content test streaming BER format, RSA", |
104 "-sign -in smcont.txt -outform DER -nodetach" | 108 "-sign -in smcont.txt -outform \"DER\" -nodetach" |
105 . " -stream -signer $smdir/smrsa1.pem -out test.cms", | 109 . " -stream -signer $smdir/smrsa1.pem -out test.cms", |
106 "-verify -in test.cms -inform DER " | 110 "-verify -in test.cms -inform \"DER\" " |
107 . " -CAfile $smdir/smroot.pem -out smtst.txt" | 111 . " \"-CAfile\" $smdir/smroot.pem -out smtst.txt" |
108 ], | 112 ], |
109 | 113 |
110 [ | 114 [ |
111 "signed content DER format, DSA key", | 115 "signed content DER format, DSA key", |
112 "-sign -in smcont.txt -outform DER -nodetach" | 116 "-sign -in smcont.txt -outform \"DER\" -nodetach" |
113 . " -signer $smdir/smdsa1.pem -out test.cms", | 117 . " -signer $smdir/smdsa1.pem -out test.cms", |
114 "-verify -in test.cms -inform DER " | 118 "-verify -in test.cms -inform \"DER\" " |
115 . " -CAfile $smdir/smroot.pem -out smtst.txt" | 119 . " \"-CAfile\" $smdir/smroot.pem -out smtst.txt" |
116 ], | 120 ], |
117 | 121 |
118 [ | 122 [ |
119 "signed detached content DER format, DSA key", | 123 "signed detached content DER format, DSA key", |
120 "-sign -in smcont.txt -outform DER" | 124 "-sign -in smcont.txt -outform \"DER\"" |
121 . " -signer $smdir/smdsa1.pem -out test.cms", | 125 . " -signer $smdir/smdsa1.pem -out test.cms", |
122 "-verify -in test.cms -inform DER " | 126 "-verify -in test.cms -inform \"DER\" " |
123 . " -CAfile $smdir/smroot.pem -out smtst.txt -content smcont.txt" | 127 . " \"-CAfile\" $smdir/smroot.pem -out smtst.txt -content smcont.txt" |
124 ], | 128 ], |
125 | 129 |
126 [ | 130 [ |
127 "signed detached content DER format, add RSA signer", | 131 "signed detached content DER format, add RSA signer", |
128 "-resign -inform DER -in test.cms -outform DER" | 132 "-resign -inform \"DER\" -in test.cms -outform \"DER\"" |
129 . " -signer $smdir/smrsa1.pem -out test2.cms", | 133 . " -signer $smdir/smrsa1.pem -out test2.cms", |
130 "-verify -in test2.cms -inform DER " | 134 "-verify -in test2.cms -inform \"DER\" " |
131 . " -CAfile $smdir/smroot.pem -out smtst.txt -content smcont.txt" | 135 . " \"-CAfile\" $smdir/smroot.pem -out smtst.txt -content smcont.txt" |
132 ], | 136 ], |
133 | 137 |
134 [ | 138 [ |
135 "signed content test streaming BER format, DSA key", | 139 "signed content test streaming BER format, DSA key", |
136 "-sign -in smcont.txt -outform DER -nodetach" | 140 "-sign -in smcont.txt -outform \"DER\" -nodetach" |
137 . " -stream -signer $smdir/smdsa1.pem -out test.cms", | 141 . " -stream -signer $smdir/smdsa1.pem -out test.cms", |
138 "-verify -in test.cms -inform DER " | 142 "-verify -in test.cms -inform \"DER\" " |
139 . " -CAfile $smdir/smroot.pem -out smtst.txt" | 143 . " \"-CAfile\" $smdir/smroot.pem -out smtst.txt" |
140 ], | 144 ], |
141 | 145 |
142 [ | 146 [ |
143 "signed content test streaming BER format, 2 DSA and 2 RSA keys", | 147 "signed content test streaming BER format, 2 DSA and 2 RSA keys", |
144 "-sign -in smcont.txt -outform DER -nodetach" | 148 "-sign -in smcont.txt -outform \"DER\" -nodetach" |
145 . " -signer $smdir/smrsa1.pem -signer $smdir/smrsa2.pem" | 149 . " -signer $smdir/smrsa1.pem -signer $smdir/smrsa2.pem" |
146 . " -signer $smdir/smdsa1.pem -signer $smdir/smdsa2.pem" | 150 . " -signer $smdir/smdsa1.pem -signer $smdir/smdsa2.pem" |
147 . " -stream -out test.cms", | 151 . " -stream -out test.cms", |
148 "-verify -in test.cms -inform DER " | 152 "-verify -in test.cms -inform \"DER\" " |
149 . " -CAfile $smdir/smroot.pem -out smtst.txt" | 153 . " \"-CAfile\" $smdir/smroot.pem -out smtst.txt" |
150 ], | 154 ], |
151 | 155 |
152 [ | 156 [ |
153 "signed content test streaming BER format, 2 DSA and 2 RSA keys, no attributes", | 157 "signed content test streaming BER format, 2 DSA and 2 RSA keys, no attributes", |
154 "-sign -in smcont.txt -outform DER -noattr -nodetach" | 158 "-sign -in smcont.txt -outform \"DER\" -noattr -nodetach" |
155 . " -signer $smdir/smrsa1.pem -signer $smdir/smrsa2.pem" | 159 . " -signer $smdir/smrsa1.pem -signer $smdir/smrsa2.pem" |
156 . " -signer $smdir/smdsa1.pem -signer $smdir/smdsa2.pem" | 160 . " -signer $smdir/smdsa1.pem -signer $smdir/smdsa2.pem" |
157 . " -stream -out test.cms", | 161 . " -stream -out test.cms", |
158 "-verify -in test.cms -inform DER " | 162 "-verify -in test.cms -inform \"DER\" " |
159 . " -CAfile $smdir/smroot.pem -out smtst.txt" | 163 . " \"-CAfile\" $smdir/smroot.pem -out smtst.txt" |
160 ], | 164 ], |
161 | 165 |
162 [ | 166 [ |
163 "signed content test streaming S/MIME format, 2 DSA and 2 RSA keys", | 167 "signed content test streaming S/MIME format, 2 DSA and 2 RSA keys", |
164 "-sign -in smcont.txt -nodetach" | 168 "-sign -in smcont.txt -nodetach" |
165 . " -signer $smdir/smrsa1.pem -signer $smdir/smrsa2.pem" | 169 . " -signer $smdir/smrsa1.pem -signer $smdir/smrsa2.pem" |
166 . " -signer $smdir/smdsa1.pem -signer $smdir/smdsa2.pem" | 170 . " -signer $smdir/smdsa1.pem -signer $smdir/smdsa2.pem" |
167 . " -stream -out test.cms", | 171 . " -stream -out test.cms", |
168 "-verify -in test.cms " . " -CAfile $smdir/smroot.pem -out smtst.txt" | 172 "-verify -in test.cms " . " \"-CAfile\" $smdir/smroot.pem -out smtst.txt
" |
169 ], | 173 ], |
170 | 174 |
171 [ | 175 [ |
172 "signed content test streaming multipart S/MIME format, 2 DSA and 2 RSA keys", | 176 "signed content test streaming multipart S/MIME format, 2 DSA and 2 RSA keys", |
173 "-sign -in smcont.txt" | 177 "-sign -in smcont.txt" |
174 . " -signer $smdir/smrsa1.pem -signer $smdir/smrsa2.pem" | 178 . " -signer $smdir/smrsa1.pem -signer $smdir/smrsa2.pem" |
175 . " -signer $smdir/smdsa1.pem -signer $smdir/smdsa2.pem" | 179 . " -signer $smdir/smdsa1.pem -signer $smdir/smdsa2.pem" |
176 . " -stream -out test.cms", | 180 . " -stream -out test.cms", |
177 "-verify -in test.cms " . " -CAfile $smdir/smroot.pem -out smtst.txt" | 181 "-verify -in test.cms " . " \"-CAfile\" $smdir/smroot.pem -out smtst.txt
" |
178 ], | 182 ], |
179 | 183 |
180 [ | 184 [ |
181 "enveloped content test streaming S/MIME format, 3 recipients", | 185 "enveloped content test streaming S/MIME format, 3 recipients", |
182 "-encrypt -in smcont.txt" | 186 "-encrypt -in smcont.txt" |
183 . " -stream -out test.cms" | 187 . " -stream -out test.cms" |
184 . " $smdir/smrsa1.pem $smdir/smrsa2.pem $smdir/smrsa3.pem ", | 188 . " $smdir/smrsa1.pem $smdir/smrsa2.pem $smdir/smrsa3.pem ", |
185 "-decrypt -recip $smdir/smrsa1.pem -in test.cms -out smtst.txt" | 189 "-decrypt -recip $smdir/smrsa1.pem -in test.cms -out smtst.txt" |
186 ], | 190 ], |
187 | 191 |
(...skipping 20 matching lines...) Expand all Loading... |
208 . " $smdir/smrsa1.pem $smdir/smrsa2.pem $smdir/smrsa3.pem ", | 212 . " $smdir/smrsa1.pem $smdir/smrsa2.pem $smdir/smrsa3.pem ", |
209 "-decrypt -recip $smdir/smrsa1.pem -in test.cms -out smtst.txt" | 213 "-decrypt -recip $smdir/smrsa1.pem -in test.cms -out smtst.txt" |
210 ], | 214 ], |
211 | 215 |
212 ); | 216 ); |
213 | 217 |
214 my @smime_cms_tests = ( | 218 my @smime_cms_tests = ( |
215 | 219 |
216 [ | 220 [ |
217 "signed content test streaming BER format, 2 DSA and 2 RSA keys, keyid", | 221 "signed content test streaming BER format, 2 DSA and 2 RSA keys, keyid", |
218 "-sign -in smcont.txt -outform DER -nodetach -keyid" | 222 "-sign -in smcont.txt -outform \"DER\" -nodetach -keyid" |
219 . " -signer $smdir/smrsa1.pem -signer $smdir/smrsa2.pem" | 223 . " -signer $smdir/smrsa1.pem -signer $smdir/smrsa2.pem" |
220 . " -signer $smdir/smdsa1.pem -signer $smdir/smdsa2.pem" | 224 . " -signer $smdir/smdsa1.pem -signer $smdir/smdsa2.pem" |
221 . " -stream -out test.cms", | 225 . " -stream -out test.cms", |
222 "-verify -in test.cms -inform DER " | 226 "-verify -in test.cms -inform \"DER\" " |
223 . " -CAfile $smdir/smroot.pem -out smtst.txt" | 227 . " \"-CAfile\" $smdir/smroot.pem -out smtst.txt" |
224 ], | 228 ], |
225 | 229 |
226 [ | 230 [ |
227 "signed content test streaming PEM format, 2 DSA and 2 RSA keys", | 231 "signed content test streaming PEM format, 2 DSA and 2 RSA keys", |
228 "-sign -in smcont.txt -outform PEM -nodetach" | 232 "-sign -in smcont.txt -outform PEM -nodetach" |
229 . " -signer $smdir/smrsa1.pem -signer $smdir/smrsa2.pem" | 233 . " -signer $smdir/smrsa1.pem -signer $smdir/smrsa2.pem" |
230 . " -signer $smdir/smdsa1.pem -signer $smdir/smdsa2.pem" | 234 . " -signer $smdir/smdsa1.pem -signer $smdir/smdsa2.pem" |
231 . " -stream -out test.cms", | 235 . " -stream -out test.cms", |
232 "-verify -in test.cms -inform PEM " | 236 "-verify -in test.cms -inform PEM " |
233 . " -CAfile $smdir/smroot.pem -out smtst.txt" | 237 . " \"-CAfile\" $smdir/smroot.pem -out smtst.txt" |
234 ], | 238 ], |
235 | 239 |
236 [ | 240 [ |
237 "signed content MIME format, RSA key, signed receipt request", | 241 "signed content MIME format, RSA key, signed receipt request", |
238 "-sign -in smcont.txt -signer $smdir/smrsa1.pem -nodetach" | 242 "-sign -in smcont.txt -signer $smdir/smrsa1.pem -nodetach" |
239 . " -receipt_request_to test\@openssl.org -receipt_request_all" | 243 . " -receipt_request_to test\@openssl.org -receipt_request_all" |
240 . " -out test.cms", | 244 . " -out test.cms", |
241 "-verify -in test.cms " | 245 "-verify -in test.cms " |
242 . " -CAfile $smdir/smroot.pem -out smtst.txt" | 246 . " \"-CAfile\" $smdir/smroot.pem -out smtst.txt" |
243 ], | 247 ], |
244 | 248 |
245 [ | 249 [ |
246 "signed receipt MIME format, RSA key", | 250 "signed receipt MIME format, RSA key", |
247 "-sign_receipt -in test.cms" | 251 "-sign_receipt -in test.cms" |
248 . " -signer $smdir/smrsa2.pem" | 252 . " -signer $smdir/smrsa2.pem" |
249 . " -out test2.cms", | 253 . " -out test2.cms", |
250 "-verify_receipt test2.cms -in test.cms" | 254 "-verify_receipt test2.cms -in test.cms" |
251 . " -CAfile $smdir/smroot.pem" | 255 . " \"-CAfile\" $smdir/smroot.pem" |
252 ], | 256 ], |
253 | 257 |
254 [ | 258 [ |
255 "enveloped content test streaming S/MIME format, 3 recipients, keyid", | 259 "enveloped content test streaming S/MIME format, 3 recipients, keyid", |
256 "-encrypt -in smcont.txt" | 260 "-encrypt -in smcont.txt" |
257 . " -stream -out test.cms -keyid" | 261 . " -stream -out test.cms -keyid" |
258 . " $smdir/smrsa1.pem $smdir/smrsa2.pem $smdir/smrsa3.pem ", | 262 . " $smdir/smrsa1.pem $smdir/smrsa2.pem $smdir/smrsa3.pem ", |
259 "-decrypt -recip $smdir/smrsa1.pem -in test.cms -out smtst.txt" | 263 "-decrypt -recip $smdir/smrsa1.pem -in test.cms -out smtst.txt" |
260 ], | 264 ], |
261 | 265 |
(...skipping 20 matching lines...) Expand all Loading... |
282 | 286 |
283 [ | 287 [ |
284 "data content test streaming PEM format", | 288 "data content test streaming PEM format", |
285 "-data_create -in smcont.txt -outform PEM -nodetach" | 289 "-data_create -in smcont.txt -outform PEM -nodetach" |
286 . " -stream -out test.cms", | 290 . " -stream -out test.cms", |
287 "-data_out -in test.cms -inform PEM -out smtst.txt" | 291 "-data_out -in test.cms -inform PEM -out smtst.txt" |
288 ], | 292 ], |
289 | 293 |
290 [ | 294 [ |
291 "encrypted content test streaming PEM format, 128 bit RC2 key", | 295 "encrypted content test streaming PEM format, 128 bit RC2 key", |
292 "-EncryptedData_encrypt -in smcont.txt -outform PEM" | 296 "\"-EncryptedData_encrypt\" -in smcont.txt -outform PEM" |
293 . " -rc2 -secretkey 000102030405060708090A0B0C0D0E0F" | 297 . " -rc2 -secretkey 000102030405060708090A0B0C0D0E0F" |
294 . " -stream -out test.cms", | 298 . " -stream -out test.cms", |
295 "-EncryptedData_decrypt -in test.cms -inform PEM " | 299 "\"-EncryptedData_decrypt\" -in test.cms -inform PEM " |
296 . " -secretkey 000102030405060708090A0B0C0D0E0F -out smtst.txt" | 300 . " -secretkey 000102030405060708090A0B0C0D0E0F -out smtst.txt" |
297 ], | 301 ], |
298 | 302 |
299 [ | 303 [ |
300 "encrypted content test streaming PEM format, 40 bit RC2 key", | 304 "encrypted content test streaming PEM format, 40 bit RC2 key", |
301 "-EncryptedData_encrypt -in smcont.txt -outform PEM" | 305 "\"-EncryptedData_encrypt\" -in smcont.txt -outform PEM" |
302 . " -rc2 -secretkey 0001020304" | 306 . " -rc2 -secretkey 0001020304" |
303 . " -stream -out test.cms", | 307 . " -stream -out test.cms", |
304 "-EncryptedData_decrypt -in test.cms -inform PEM " | 308 "\"-EncryptedData_decrypt\" -in test.cms -inform PEM " |
305 . " -secretkey 0001020304 -out smtst.txt" | 309 . " -secretkey 0001020304 -out smtst.txt" |
306 ], | 310 ], |
307 | 311 |
308 [ | 312 [ |
309 "encrypted content test streaming PEM format, triple DES key", | 313 "encrypted content test streaming PEM format, triple DES key", |
310 "-EncryptedData_encrypt -in smcont.txt -outform PEM" | 314 "\"-EncryptedData_encrypt\" -in smcont.txt -outform PEM" |
311 . " -des3 -secretkey 000102030405060708090A0B0C0D0E0F1011121314151617" | 315 . " -des3 -secretkey 000102030405060708090A0B0C0D0E0F1011121314151617" |
312 . " -stream -out test.cms", | 316 . " -stream -out test.cms", |
313 "-EncryptedData_decrypt -in test.cms -inform PEM " | 317 "\"-EncryptedData_decrypt\" -in test.cms -inform PEM " |
314 . " -secretkey 000102030405060708090A0B0C0D0E0F1011121314151617" | 318 . " -secretkey 000102030405060708090A0B0C0D0E0F1011121314151617" |
315 . " -out smtst.txt" | 319 . " -out smtst.txt" |
316 ], | 320 ], |
317 | 321 |
318 [ | 322 [ |
319 "encrypted content test streaming PEM format, 128 bit AES key", | 323 "encrypted content test streaming PEM format, 128 bit AES key", |
320 "-EncryptedData_encrypt -in smcont.txt -outform PEM" | 324 "\"-EncryptedData_encrypt\" -in smcont.txt -outform PEM" |
321 . " -aes128 -secretkey 000102030405060708090A0B0C0D0E0F" | 325 . " -aes128 -secretkey 000102030405060708090A0B0C0D0E0F" |
322 . " -stream -out test.cms", | 326 . " -stream -out test.cms", |
323 "-EncryptedData_decrypt -in test.cms -inform PEM " | 327 "\"-EncryptedData_decrypt\" -in test.cms -inform PEM " |
324 . " -secretkey 000102030405060708090A0B0C0D0E0F -out smtst.txt" | 328 . " -secretkey 000102030405060708090A0B0C0D0E0F -out smtst.txt" |
325 ], | 329 ], |
326 | 330 |
327 ); | 331 ); |
328 | 332 |
329 my @smime_cms_comp_tests = ( | 333 my @smime_cms_comp_tests = ( |
330 | 334 |
331 [ | 335 [ |
332 "compressed content test streaming PEM format", | 336 "compressed content test streaming PEM format", |
333 "-compress -in smcont.txt -outform PEM -nodetach" | 337 "-compress -in smcont.txt -outform PEM -nodetach" |
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
444 | 448 |
445 } | 449 } |
446 | 450 |
447 close $fp1; | 451 close $fp1; |
448 close $fp2; | 452 close $fp2; |
449 | 453 |
450 return $ret; | 454 return $ret; |
451 | 455 |
452 } | 456 } |
453 | 457 |
OLD | NEW |