Autoconf support for PolarSSL

This commit is contained in:
Linus Yang
2013-11-11 03:36:27 +08:00
parent aa20fd708e
commit c790c269dc
11 changed files with 230 additions and 14 deletions
+2 -2
View File
@@ -830,12 +830,12 @@ void free_server(struct server *server)
}
if (server->e_ctx != NULL)
{
EVP_CIPHER_CTX_cleanup(&server->e_ctx->evp);
cipher_context_release(&server->e_ctx->evp);
free(server->e_ctx);
}
if (server->d_ctx != NULL)
{
EVP_CIPHER_CTX_cleanup(&server->d_ctx->evp);
cipher_context_release(&server->d_ctx->evp);
free(server->d_ctx);
}
if (server->buf != NULL)