diff options
author | Richard Levitte <levitte@openssl.org> | 2019-02-28 11:30:19 +0100 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2019-06-10 22:00:20 +0200 |
commit | 2ec8ad1bd8b1ae7a61ae8fe46a5633a1b50c0049 (patch) | |
tree | 3ef1bab5ea6a2bb06a130c8b454ad97d94c59280 | |
parent | 81ce7cc8d6d4377c1a3aa22247e9889ef287005f (diff) |
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)
(cherry picked from commit 69f6b3ceaba493e70e1296880ea6c93e40714f0f)
-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; } |