Minor compatibility fixes [from HEAD].

PR: 2790
Submitted by: Alexei Khlebnikov
This commit is contained in:
Andy Polyakov
2012-04-16 17:35:48 +00:00
parent 09f17419a6
commit 94c666479d
2 changed files with 15 additions and 15 deletions

View 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);
}