summaryrefslogtreecommitdiffstats
path: root/crypto/comp
diff options
context:
space:
mode:
authorAlessandro Ghedini <alessandro@ghedini.me>2016-05-17 16:23:46 +0100
committerRich Salz <rsalz@openssl.org>2016-05-18 13:38:27 -0400
commiteb334f73a8f82f6663038bcbc402468295944694 (patch)
tree9535e838ac2f9d48071b417aa361dcb91fc6139c /crypto/comp
parent54fc5795c9f7d0dc95d537672c716c9d250eb0fb (diff)
Avoid double declaration of COMP_METHOD
Reviewed-by: Matt Caswell <matt@openssl.org> Reviewed-by: Kurt Roeckx <kurt@openssl.org> Reviewed-by: Rich Salz <rsalz@openssl.org> (Merged from https://github.com/openssl/openssl/pull/1083)
Diffstat (limited to 'crypto/comp')
-rw-r--r--crypto/comp/comp.h4
1 files 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;