From 1b2aa7959c86a835491c8cfca8c0683b747c1855 Mon Sep 17 00:00:00 2001 From: Rob Austein Date: Mon, 9 Oct 2006 16:29:05 +0000 Subject: Merge in vendor branch OpenSSL changes 0.9.8b -> 0.9.8d svn path=/openssl/vendor/current/CHANGES; revision=375 --- openssl/vendor/current/apps/gendsa.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'openssl/vendor/current/apps/gendsa.c') diff --git a/openssl/vendor/current/apps/gendsa.c b/openssl/vendor/current/apps/gendsa.c index 828e27f1..936a42b8 100644 --- a/openssl/vendor/current/apps/gendsa.c +++ b/openssl/vendor/current/apps/gendsa.c @@ -147,6 +147,14 @@ int MAIN(int argc, char **argv) enc=EVP_aes_192_cbc(); else if (strcmp(*argv,"-aes256") == 0) enc=EVP_aes_256_cbc(); +#endif +#ifndef OPENSSL_NO_CAMELLIA + else if (strcmp(*argv,"-camellia128") == 0) + enc=EVP_camellia_128_cbc(); + else if (strcmp(*argv,"-camellia192") == 0) + enc=EVP_camellia_192_cbc(); + else if (strcmp(*argv,"-camellia256") == 0) + enc=EVP_camellia_256_cbc(); #endif else if (**argv != '-' && dsaparams == NULL) { @@ -174,6 +182,10 @@ bad: BIO_printf(bio_err," -aes128, -aes192, -aes256\n"); BIO_printf(bio_err," encrypt PEM output with cbc aes\n"); #endif +#ifndef OPENSSL_NO_CAMELLIA + BIO_printf(bio_err," -camellia128, -camellia192, -camellia256\n"); + BIO_printf(bio_err," encrypt PEM output with cbc camellia\n"); +#endif #ifndef OPENSSL_NO_ENGINE BIO_printf(bio_err," -engine e - use engine e, possibly a hardware device.\n"); #endif -- cgit v1.2.3