aboutsummaryrefslogtreecommitdiffstats
path: root/apps/x509.c
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>1999-11-08 13:58:08 +0000
committerDr. Stephen Henson <steve@openssl.org>1999-11-08 13:58:08 +0000
commita0ad17bb6cccef6eb7ff0b25403ec2bbc0bd122e (patch)
tree463e559c53a5e7f8dafaa4c3f1416ea8ce23f104 /apps/x509.c
parentce1b4fe14648007bf054cf54846c0620e4605251 (diff)
downloadopenssl-a0ad17bb6cccef6eb7ff0b25403ec2bbc0bd122e.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 a7f25f0b68..f56244c5c7 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)
{