summaryrefslogtreecommitdiffstats
path: root/apps/dsa.c
diff options
context:
space:
mode:
authorBodo Möller <bodo@openssl.org>2007-04-24 01:48:59 +0200
committerBodo Möller <bodo@openssl.org>2007-04-24 01:48:59 +0200
commit96afc1cfd53a0ffcca8544fa751eb9bf17749133 (patch)
treea21b008f179047a3a4c244c379ec33599bfd77e9 /apps/dsa.c
parentfix error codes (diff)
downloadopenssl-96afc1cfd53a0ffcca8544fa751eb9bf17749133.tar.xz
openssl-96afc1cfd53a0ffcca8544fa751eb9bf17749133.zip
Add SEED encryption algorithm.
PR: 1503 Submitted by: KISA Reviewed by: Bodo Moeller
Diffstat (limited to 'apps/dsa.c')
-rw-r--r--apps/dsa.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/dsa.c b/apps/dsa.c
index ab258eb83c..0ebba0862d 100644
--- a/apps/dsa.c
+++ b/apps/dsa.c
@@ -87,6 +87,7 @@
* -camellia128 - encrypt output if PEM format
* -camellia192 - encrypt output if PEM format
* -camellia256 - encrypt output if PEM format
+ * -seed - encrypt output if PEM format
* -text - print a text version
* -modulus - print the DSA public key
*/
@@ -227,6 +228,9 @@ bad:
BIO_printf(bio_err," -camellia128, -camellia192, -camellia256\n");
BIO_printf(bio_err," encrypt PEM output with cbc camellia\n");
#endif
+#ifndef OPENSSL_NO_SEED
+ BIO_printf(bio_err," -seed encrypt PEM output with cbc seed\n");
+#endif
BIO_printf(bio_err," -text print the key in text\n");
BIO_printf(bio_err," -noout don't print key out\n");
BIO_printf(bio_err," -modulus print the DSA public value\n");