Minor compatibility fixes.
[openssl.git] / crypto / x509 / x509_lu.c
index 3a6e04a1deea41846f36a05dfefd361139ff40b9..38525a8cddbc267c8e2c7a78c354438bb609c85a 100644 (file)
@@ -87,7 +87,7 @@ void X509_LOOKUP_free(X509_LOOKUP *ctx)
        if (ctx == NULL) return;
        if (    (ctx->method != NULL) &&
                (ctx->method->free != NULL))
-               ctx->method->free(ctx);
+               (*ctx->method->free)(ctx);
        OPENSSL_free(ctx);
        }