Fix CRL encoding bug.
[oweals/openssl.git] / crypto / asn1 / x_info.c
index 0ee9eb7955565dcda36336773d167e8a8fc0480f..22520d03dd60adde4a182d838c3cd7eef77e5794 100644 (file)
@@ -106,5 +106,9 @@ void X509_INFO_free(X509_INFO *x)
        if (x->x509 != NULL) X509_free(x->x509);
        if (x->crl != NULL) X509_CRL_free(x->crl);
        if (x->x_pkey != NULL) X509_PKEY_free(x->x_pkey);
+       if (x->enc_data != NULL) Free(x->enc_data);
        Free((char *)x);
        }
+
+IMPLEMENT_STACK_OF(X509_INFO)
+