diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2000-01-08 13:36:17 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2000-01-08 13:36:17 +0000 |
commit | ef7eaa4cb0cf07c79cb0d294c7d24c2f74e1bdcf (patch) | |
tree | ef768818c0395e2fbc397313904ce6c89a1c58cd /apps/dh.c | |
parent | dad666fbbeed2a0699ca682b96f26f490cee1a4c (diff) | |
download | openssl-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.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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); } |