diff options
author | Dr. Stephen Henson <steve@openssl.org> | 1999-11-08 13:58:08 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 1999-11-08 13:58:08 +0000 |
commit | a0ad17bb6cccef6eb7ff0b25403ec2bbc0bd122e (patch) | |
tree | 463e559c53a5e7f8dafaa4c3f1416ea8ce23f104 /crypto/asn1/a_strnid.c | |
parent | ce1b4fe14648007bf054cf54846c0620e4605251 (diff) | |
download | openssl-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 'crypto/asn1/a_strnid.c')
-rw-r--r-- | crypto/asn1/a_strnid.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crypto/asn1/a_strnid.c b/crypto/asn1/a_strnid.c index cb37024db2..e2e100e2eb 100644 --- a/crypto/asn1/a_strnid.c +++ b/crypto/asn1/a_strnid.c @@ -188,6 +188,7 @@ void ASN1_STRING_TABLE_cleanup(void) { STACK_OF(ASN1_STRING_TABLE) *tmp; tmp = stable; + if(!tmp) return; stable = NULL; sk_ASN1_STRING_TABLE_pop_free(tmp, st_free); } |