From 0948670ec496999d4e52909c5a5c1406b0a013ce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Love=20H=C3=B6rnquist=20=C3=85strand?= Date: Sat, 6 May 2006 13:04:36 +0000 Subject: [PATCH] Default to test DH. git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17480 ec53bebd-3082-4978-b11e-865c3cabbd6b --- lib/des/test_engine_dso.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/des/test_engine_dso.c b/lib/des/test_engine_dso.c index 89c390c26..3e36d9e69 100644 --- a/lib/des/test_engine_dso.c +++ b/lib/des/test_engine_dso.c @@ -50,14 +50,14 @@ static int version_flag; static int help_flag; static char *id_flag; static char *rsa_flag; -static int dh_flag; +static int dh_flag = 1; static struct getargs args[] = { { "id", 0, arg_string, &id_flag, "selects the engine id", "engine-id" }, { "rsa", 0, arg_string, &rsa_flag, "tests RSA modes", "private-rsa-der-file" }, - { "dh", 0, arg_flag, &dh_flag, + { "dh", 0, arg_negative_flag, &dh_flag, "test dh", NULL }, { "version", 0, arg_flag, &version_flag, "print version", NULL }, @@ -239,7 +239,7 @@ main(int argc, char **argv) DH_free(server); DH_free(client); - printf("dh test passed\n"); + printf("DH test passed\n"); } ENGINE_finish(engine);