summaryrefslogtreecommitdiffstats
path: root/crypto/openssl/ssl/ssl3.h
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/openssl/ssl/ssl3.h')
-rw-r--r--crypto/openssl/ssl/ssl3.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/crypto/openssl/ssl/ssl3.h b/crypto/openssl/ssl/ssl3.h
index f616763..7ee1fea 100644
--- a/crypto/openssl/ssl/ssl3.h
+++ b/crypto/openssl/ssl/ssl3.h
@@ -59,6 +59,9 @@
#ifndef HEADER_SSL3_H
#define HEADER_SSL3_H
+#ifndef NO_COMP
+#include <openssl/comp.h>
+#endif
#include <openssl/buffer.h>
#include <openssl/evp.h>
#include <openssl/ssl.h>
@@ -310,7 +313,7 @@ typedef struct ssl3_state_st
const EVP_CIPHER *new_sym_enc;
const EVP_MD *new_hash;
-#ifdef HEADER_COMP_H
+#ifndef NO_COMP
const SSL_COMP *new_compression;
#else
char *new_compression;
OpenPOWER on IntegriCloud