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) {