summaryrefslogtreecommitdiff
path: root/usr.bin/openssl
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/openssl')
-rw-r--r--usr.bin/openssl/dsa.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/usr.bin/openssl/dsa.c b/usr.bin/openssl/dsa.c
index c988283b5b9..494d49712ee 100644
--- a/usr.bin/openssl/dsa.c
+++ b/usr.bin/openssl/dsa.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: dsa.c,v 1.13 2019/02/09 15:49:21 inoguchi Exp $ */
+/* $OpenBSD: dsa.c,v 1.14 2019/07/10 10:28:28 inoguchi Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
@@ -122,6 +122,12 @@ static struct option dsa_options[] = {
.opt.value = &dsa_config.informat,
},
{
+ .name = "modulus",
+ .desc = "Print the DSA public value",
+ .type = OPTION_FLAG,
+ .opt.flag = &dsa_config.modulus,
+ },
+ {
.name = "noout",
.desc = "No output",
.type = OPTION_FLAG,
@@ -209,7 +215,7 @@ dsa_usage(void)
int n = 0;
fprintf(stderr,
- "usage: dsa [-in file] [-inform format] [-noout]\n"
+ "usage: dsa [-in file] [-inform format] [-modulus] [-noout]\n"
" [-out file] [-outform format] [-passin src] [-passout src]\n"
" [-pubin] [-pubout] [-pvk-none | -pvk-strong | -pvk-weak]\n"
" [-text] [-ciphername]\n\n");