projects
/
oweals
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Support TLS extensions (specifically, HostName)
[oweals/openssl.git]
/
apps
/
smime.c
diff --git
a/apps/smime.c
b/apps/smime.c
index 253cca7f59ba11094fb995f06b35b7ddd43ba466..250fd69a981b0a95913c39661c7e5394eb7bba1a 100644
(file)
--- a/
apps/smime.c
+++ b/
apps/smime.c
@@
-384,9
+384,9
@@
int MAIN(int argc, char **argv)
}
else if (operation == SMIME_DECRYPT)
{
- if (!recipfile)
+ if (!recipfile
&& !keyfile
)
{
- BIO_printf(bio_err, "No recipient certificate
and
key specified\n");
+ BIO_printf(bio_err, "No recipient certificate
or
key specified\n");
badarg = 1;
}
}