From eb334f73a8f82f6663038bcbc402468295944694 Mon Sep 17 00:00:00 2001 From: Alessandro Ghedini Date: Tue, 17 May 2016 16:23:46 +0100 Subject: [PATCH] Avoid double declaration of COMP_METHOD Reviewed-by: Matt Caswell Reviewed-by: Kurt Roeckx Reviewed-by: Rich Salz (Merged from https://github.com/openssl/openssl/pull/1083) --- crypto/comp/comp.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crypto/comp/comp.h b/crypto/comp/comp.h index 60a073404e..df599ba331 100644 --- a/crypto/comp/comp.h +++ b/crypto/comp/comp.h @@ -14,7 +14,7 @@ extern "C" { typedef struct comp_ctx_st COMP_CTX; -typedef struct comp_method_st { +struct comp_method_st { int type; /* NID for compression library */ const char *name; /* A text string to identify the library */ int (*init) (COMP_CTX *ctx); @@ -30,7 +30,7 @@ typedef struct comp_method_st { */ long (*ctrl) (void); long (*callback_ctrl) (void); -} COMP_METHOD; +}; struct comp_ctx_st { COMP_METHOD *meth; -- 2.25.1