X-Git-Url: https://git.openssl.org/gitweb/?p=openssl.git;a=blobdiff_plain;f=crypto%2Fcomp%2Fcomp_lib.c;h=dec3b1fc778de382958b94796156f67f04cd4bc7;hp=dcacb5557d463d75fb34be8a67d5dc2c2f7794ff;hb=6b691a5c85ddc4e407e32781841fee5c029506cd;hpb=3edd7ed15de229230f74c79c3d71e7c9c674cf4f diff --git a/crypto/comp/comp_lib.c b/crypto/comp/comp_lib.c index dcacb5557d..dec3b1fc77 100644 --- a/crypto/comp/comp_lib.c +++ b/crypto/comp/comp_lib.c @@ -4,8 +4,7 @@ #include "objects.h" #include "comp.h" -COMP_CTX *COMP_CTX_new(meth) -COMP_METHOD *meth; +COMP_CTX *COMP_CTX_new(COMP_METHOD *meth) { COMP_CTX *ret; @@ -28,8 +27,7 @@ COMP_METHOD *meth; return(ret); } -void COMP_CTX_free(ctx) -COMP_CTX *ctx; +void COMP_CTX_free(COMP_CTX *ctx) { /* CRYPTO_free_ex_data(rsa_meth,(char *)ctx,&ctx->ex_data); */ @@ -42,12 +40,8 @@ COMP_CTX *ctx; Free(ctx); } -int COMP_compress_block(ctx,out,olen,in,ilen) -COMP_CTX *ctx; -unsigned char *out; -int olen; -unsigned char *in; -int ilen; +int COMP_compress_block(COMP_CTX *ctx, unsigned char *out, int olen, + unsigned char *in, int ilen) { int ret; if (ctx->meth->compress == NULL) @@ -64,12 +58,8 @@ int ilen; return(ret); } -int COMP_expand_block(ctx,out,olen,in,ilen) -COMP_CTX *ctx; -unsigned char *out; -int olen; -unsigned char *in; -int ilen; +int COMP_expand_block(COMP_CTX *ctx, unsigned char *out, int olen, + unsigned char *in, int ilen) { int ret;