projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Allow any supported cipher to be used with smime -encrypt.
[openssl.git]
/
apps
/
smime.c
diff --git
a/apps/smime.c
b/apps/smime.c
index 8d356b5b21b200041bad0ac9415844ee7af9e54e..c5453eafe2f938405f67bf43a48bf46ebd037606 100644
(file)
--- a/
apps/smime.c
+++ b/
apps/smime.c
@@
-348,7
+348,7
@@
int MAIN(int argc, char **argv)
}
else if (args_verify(&args, NULL, &badarg, bio_err, &vpm))
continue;
}
else if (args_verify(&args, NULL, &badarg, bio_err, &vpm))
continue;
- else
+ else
if ((cipher = EVP_get_cipherbyname(*args + 1)) == NULL)
badarg = 1;
args++;
}
badarg = 1;
args++;
}