This commit is contained in:
Dr. Stephen Henson 2008-03-14 19:38:44 +00:00
parent 320bfc1be7
commit 1021f9aa5e
2 changed files with 4 additions and 4 deletions

View File

@ -167,7 +167,7 @@ int MAIN(int argc, char **argv)
operation = SMIME_COMPRESS;
else if (!strcmp (*args, "-uncompress"))
operation = SMIME_UNCOMPRESS;
else if (!strcmp (*args, "-EncrypedData_decrypt"))
else if (!strcmp (*args, "-EncryptedData_decrypt"))
operation = SMIME_ENCRYPTED_DECRYPT;
#ifndef OPENSSL_NO_DES
else if (!strcmp (*args, "-des3"))

View File

@ -120,8 +120,8 @@ foreach (@test_list) {
}
unlink "cms.out";
unlink "cms.err";
#unlink "cms.out";
#unlink "cms.err";
unlink "tmp.der";
unlink "tmp.txt";
@ -245,7 +245,7 @@ sub run_encrypted_test
my ($cmsdir, $tlist, $tfile, $key) = @_;
unlink "tmp.txt";
system ("$cmscmd -EncrypedData_decrypt -inform DER" .
system ("$cmscmd -EncryptedData_decrypt -inform DER" .
" -secretkey $key" .
" -in $cmsdir/$tfile -out tmp.txt");