Implement a stateful variant if the ZLIB compression method. The old

stateless variant is kept, but isn't used anywhere.
This commit is contained in:
Richard Levitte
2002-12-08 02:39:38 +00:00
parent b11405723d
commit 86a62cf15c
3 changed files with 186 additions and 10 deletions

View File

@@ -20,17 +20,11 @@ COMP_CTX *COMP_CTX_new(COMP_METHOD *meth)
OPENSSL_free(ret);
ret=NULL;
}
#if 0
else
CRYPTO_new_ex_data(rsa_meth,(char *)ret,&ret->ex_data);
#endif
return(ret);
}
void COMP_CTX_free(COMP_CTX *ctx)
{
/* CRYPTO_free_ex_data(rsa_meth,(char *)ctx,&ctx->ex_data); */
if(ctx == NULL)
return;