commit | a0ad17bb6cccef6eb7ff0b25403ec2bbc0bd122e | [log] [tgz] |
---|---|---|
author | Dr. Stephen Henson <steve@openssl.org> | Mon Nov 08 13:58:08 1999 +0000 |
committer | Dr. Stephen Henson <steve@openssl.org> | Mon Nov 08 13:58:08 1999 +0000 |
tree | 463e559c53a5e7f8dafaa4c3f1416ea8ce23f104 | |
parent | ce1b4fe14648007bf054cf54846c0620e4605251 [diff] [blame] |
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.
diff --git a/apps/x509.c b/apps/x509.c index a7f25f0..f56244c 100644 --- a/apps/x509.c +++ b/apps/x509.c
@@ -268,6 +268,7 @@ if (--argc < 1) goto bad; CAfile= *(++argv); CA_flag= ++num; + need_rand = 1; } else if (strcmp(*argv,"-CAkey") == 0) {