summaryrefslogtreecommitdiff
path: root/apps/x509.c
diff options
context:
space:
mode:
authorsteve <steve>1999-11-08 13:57:58 +0000
committersteve <steve>1999-11-08 13:57:58 +0000
commit66f80f1ef94b7aff960445783e058b7e4ca20227 (patch)
treefd749d7e9564622c9ec6c0127a48cf58fd338105 /apps/x509.c
parentd70ebf197f743a53547064c1ce75f2e8f8bb5015 (diff)
downloadopenssl-66f80f1ef94b7aff960445783e058b7e4ca20227.tar.gz
Fix to the -revoke option in ca. It was leaking memory, crashing and just
plain not working :-( Also fix some memory leaks in the new X509_NAME code. Fix so new app_rand code doesn't crash 'x509' and move #include so it compiles under Win32.
Diffstat (limited to 'apps/x509.c')
-rw-r--r--apps/x509.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/x509.c b/apps/x509.c
index a7f25f0b6..f56244c5c 100644
--- a/apps/x509.c
+++ b/apps/x509.c
@@ -268,6 +268,7 @@ int MAIN(int argc, char **argv)
if (--argc < 1) goto bad;
CAfile= *(++argv);
CA_flag= ++num;
+ need_rand = 1;
}
else if (strcmp(*argv,"-CAkey") == 0)
{