summaryrefslogtreecommitdiff
path: root/src/lib/libssl/src/apps/dsa.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libssl/src/apps/dsa.c')
-rw-r--r--src/lib/libssl/src/apps/dsa.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/lib/libssl/src/apps/dsa.c b/src/lib/libssl/src/apps/dsa.c
index e9de3a3bdf..9e103037dd 100644
--- a/src/lib/libssl/src/apps/dsa.c
+++ b/src/lib/libssl/src/apps/dsa.c
@@ -56,6 +56,7 @@
56 * [including the GNU Public Licence.] 56 * [including the GNU Public Licence.]
57 */ 57 */
58 58
59#include <openssl/opensslconf.h> /* for OPENSSL_NO_DSA */
59#ifndef OPENSSL_NO_DSA 60#ifndef OPENSSL_NO_DSA
60#include <stdio.h> 61#include <stdio.h>
61#include <stdlib.h> 62#include <stdlib.h>
@@ -68,6 +69,7 @@
68#include <openssl/evp.h> 69#include <openssl/evp.h>
69#include <openssl/x509.h> 70#include <openssl/x509.h>
70#include <openssl/pem.h> 71#include <openssl/pem.h>
72#include <openssl/bn.h>
71 73
72#undef PROG 74#undef PROG
73#define PROG dsa_main 75#define PROG dsa_main
@@ -82,6 +84,10 @@
82 * -aes128 - encrypt output if PEM format 84 * -aes128 - encrypt output if PEM format
83 * -aes192 - encrypt output if PEM format 85 * -aes192 - encrypt output if PEM format
84 * -aes256 - encrypt output if PEM format 86 * -aes256 - encrypt output if PEM format
87 * -camellia128 - encrypt output if PEM format
88 * -camellia192 - encrypt output if PEM format
89 * -camellia256 - encrypt output if PEM format
90 * -seed - encrypt output if PEM format
85 * -text - print a text version 91 * -text - print a text version
86 * -modulus - print the DSA public key 92 * -modulus - print the DSA public key
87 */ 93 */
@@ -210,6 +216,13 @@ bad:
210 BIO_printf(bio_err," -aes128, -aes192, -aes256\n"); 216 BIO_printf(bio_err," -aes128, -aes192, -aes256\n");
211 BIO_printf(bio_err," encrypt PEM output with cbc aes\n"); 217 BIO_printf(bio_err," encrypt PEM output with cbc aes\n");
212#endif 218#endif
219#ifndef OPENSSL_NO_CAMELLIA
220 BIO_printf(bio_err," -camellia128, -camellia192, -camellia256\n");
221 BIO_printf(bio_err," encrypt PEM output with cbc camellia\n");
222#endif
223#ifndef OPENSSL_NO_SEED
224 BIO_printf(bio_err," -seed encrypt PEM output with cbc seed\n");
225#endif
213 BIO_printf(bio_err," -text print the key in text\n"); 226 BIO_printf(bio_err," -text print the key in text\n");
214 BIO_printf(bio_err," -noout don't print key out\n"); 227 BIO_printf(bio_err," -noout don't print key out\n");
215 BIO_printf(bio_err," -modulus print the DSA public value\n"); 228 BIO_printf(bio_err," -modulus print the DSA public value\n");