diff options
author | Richard Levitte <levitte@openssl.org> | 2019-02-28 11:30:19 +0100 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2019-02-28 13:06:32 +0100 |
commit | 69f6b3ceaba493e70e1296880ea6c93e40714f0f (patch) | |
tree | bbd3930710c27186cbc91f9d22d923ca50039791 /apps/ca.c | |
parent | cee719c2d8e4bfeb1f10d8dc0e86809b3cfaabc5 (diff) | |
download | openssl-new-69f6b3ceaba493e70e1296880ea6c93e40714f0f.tar.gz |
apps/ca.c: only output DER with SPKAC input and when -out is chosen
So say the docs
Fixes #8055
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/8368)
Diffstat (limited to 'apps/ca.c')
-rw-r--r-- | apps/ca.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -722,7 +722,7 @@ end_of_options: /*****************************************************************/ if (req || gencrl) { - if (spkac_file != NULL) { + if (spkac_file != NULL && outfile != NULL) { output_der = 1; batch = 1; } |