summaryrefslogtreecommitdiff
path: root/deps/openssl/openssl/apps/ca.c
diff options
context:
space:
mode:
Diffstat (limited to 'deps/openssl/openssl/apps/ca.c')
-rw-r--r--deps/openssl/openssl/apps/ca.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/deps/openssl/openssl/apps/ca.c b/deps/openssl/openssl/apps/ca.c
index 69207c0662..a4a77126f2 100644
--- a/deps/openssl/openssl/apps/ca.c
+++ b/deps/openssl/openssl/apps/ca.c
@@ -1,5 +1,5 @@
/*
- * Copyright 1995-2018 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2019 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the OpenSSL license (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
@@ -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;
}