aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-tcp-stream-openssl.h
diff options
context:
space:
mode:
Diffstat (limited to 'camel/camel-tcp-stream-openssl.h')
-rw-r--r--camel/camel-tcp-stream-openssl.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/camel/camel-tcp-stream-openssl.h b/camel/camel-tcp-stream-openssl.h
index 8424019968..0103332c3f 100644
--- a/camel/camel-tcp-stream-openssl.h
+++ b/camel/camel-tcp-stream-openssl.h
@@ -30,10 +30,7 @@ extern "C" {
#pragma }
#endif /* __cplusplus */
-#ifdef HAVE_OPENSSL
-
#include <camel/camel-tcp-stream.h>
-#include <openssl/ssl.h>
#define CAMEL_TCP_STREAM_OPENSSL_TYPE (camel_tcp_stream_openssl_get_type ())
#define CAMEL_TCP_STREAM_OPENSSL(obj) (CAMEL_CHECK_CAST((obj), CAMEL_TCP_STREAM_OPENSSL_TYPE, CamelTcpStreamOpenSSL))
@@ -44,8 +41,7 @@ struct _CamelTcpStreamOpenSSL
{
CamelTcpStream parent_object;
- int sockfd;
- SSL *ssl;
+ struct _CamelTcpStreamOpenSSLPrivate *priv;
};
typedef struct {
@@ -61,8 +57,6 @@ CamelType camel_tcp_stream_openssl_get_type (void);
/* public methods */
CamelStream *camel_tcp_stream_openssl_new (void);
-#endif /* HAVE_OPENSSL */
-
#ifdef __cplusplus
}
#endif /* __cplusplus */