=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/openssl/dsa.c,v retrieving revision 1.13 retrieving revision 1.14 diff -u -r1.13 -r1.14 --- src/usr.bin/openssl/dsa.c 2019/02/09 15:49:21 1.13 +++ src/usr.bin/openssl/dsa.c 2019/07/10 10:28:28 1.14 @@ -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 @@ .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 @@ 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");