summaryrefslogtreecommitdiff
path: root/apps/dh.c
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2000-01-08 13:36:17 +0000
committerDr. Stephen Henson <steve@openssl.org>2000-01-08 13:36:17 +0000
commitef7eaa4cb0cf07c79cb0d294c7d24c2f74e1bdcf (patch)
treeef768818c0395e2fbc397313904ce6c89a1c58cd /apps/dh.c
parentdad666fbbeed2a0699ca682b96f26f490cee1a4c (diff)
downloadopenssl-new-ef7eaa4cb0cf07c79cb0d294c7d24c2f74e1bdcf.tar.gz
Manpages for the DH utils and fix for a memory leak in dh program
Diffstat (limited to 'apps/dh.c')
-rw-r--r--apps/dh.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/apps/dh.c b/apps/dh.c
index 9efdcd78a3..d68b388085 100644
--- a/apps/dh.c
+++ b/apps/dh.c
@@ -149,8 +149,8 @@ int MAIN(int argc, char **argv)
bad:
BIO_printf(bio_err,"%s [options] <infile >outfile\n",prog);
BIO_printf(bio_err,"where options are\n");
- BIO_printf(bio_err," -inform arg input format - one of DER TXT PEM\n");
- BIO_printf(bio_err," -outform arg output format - one of DER TXT PEM\n");
+ BIO_printf(bio_err," -inform arg input format - one of DER PEM\n");
+ BIO_printf(bio_err," -outform arg output format - one of DER PEM\n");
BIO_printf(bio_err," -in arg input file\n");
BIO_printf(bio_err," -out arg output file\n");
BIO_printf(bio_err," -check check the DH parameters\n");
@@ -282,6 +282,7 @@ bad:
printf("\tif ((dh->p == NULL) || (dh->g == NULL))\n");
printf("\t\treturn(NULL);\n");
printf("\treturn(dh);\n\t}\n");
+ Free(data);
}