summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--apps/dhparam.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/dhparam.c b/apps/dhparam.c
index a0c0c064aa..b9ce418c61 100644
--- a/apps/dhparam.c
+++ b/apps/dhparam.c
@@ -190,6 +190,10 @@ int dhparam_main(int argc, char **argv)
if (num) {
const char *alg = dsaparam ? "DSA" : "DH";
+ if (infile != NULL) {
+ BIO_printf(bio_err, "Warning, input file %s ignored\n", infile);
+ }
+
ctx = EVP_PKEY_CTX_new_from_name(NULL, alg, NULL);
if (ctx == NULL) {
BIO_printf(bio_err,