summaryrefslogtreecommitdiffstats
path: root/apps/dhparam.c
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2002-03-06 14:09:46 +0000
committerDr. Stephen Henson <steve@openssl.org>2002-03-06 14:09:46 +0000
commitc913cf446f986450b0749a502a5d6658269c45b1 (patch)
tree543d34d81aeb01d0b5ee29d965e0482cfb14c387 /apps/dhparam.c
parenta88f39457bc4c5fb8d45a9a1d440f7d96975f881 (diff)
ENGINE module additions.
Add "init" command to control ENGINE initialization. Call ENGINE_finish on initialized ENGINEs on exit. Reorder shutdown in apps.c: modules should be shut down first. Add test private key loader to openssl ENGINE: this just loads a private key in PEM format. Fix print format for dh length parameter.
Diffstat (limited to 'apps/dhparam.c')
-rw-r--r--apps/dhparam.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/dhparam.c b/apps/dhparam.c
index f1664a59b7..ea15ef3236 100644
--- a/apps/dhparam.c
+++ b/apps/dhparam.c
@@ -490,7 +490,7 @@ bad:
printf("\tif ((dh->p == NULL) || (dh->g == NULL))\n");
printf("\t\t{ DH_free(dh); return(NULL); }\n");
if (dh->length)
- printf("\tdh->length = %d;\n", dh->length);
+ printf("\tdh->length = %ld;\n", dh->length);
printf("\treturn(dh);\n\t}\n");
OPENSSL_free(data);
}