diff options
Diffstat (limited to 'crypto/comp/comp_local.h')
-rw-r--r-- | crypto/comp/comp_local.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/crypto/comp/comp_local.h b/crypto/comp/comp_local.h index acf113e31c..d8be9271a0 100644 --- a/crypto/comp/comp_local.h +++ b/crypto/comp/comp_local.h @@ -12,12 +12,12 @@ struct comp_method_st { const char *name; /* A text string to identify the library */ int (*init) (COMP_CTX *ctx); void (*finish) (COMP_CTX *ctx); - int (*compress) (COMP_CTX *ctx, - unsigned char *out, unsigned int olen, - unsigned char *in, unsigned int ilen); - int (*expand) (COMP_CTX *ctx, - unsigned char *out, unsigned int olen, - unsigned char *in, unsigned int ilen); + ossl_ssize_t (*compress) (COMP_CTX *ctx, + unsigned char *out, size_t olen, + unsigned char *in, size_t ilen); + ossl_ssize_t (*expand) (COMP_CTX *ctx, + unsigned char *out, size_t olen, + unsigned char *in, size_t ilen); }; struct comp_ctx_st { |