diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2001-03-17 07:02:04 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2001-03-17 07:02:04 +0800 |
commit | a9df5de4af55791e4d4aeb3533bcc715e28c1512 (patch) | |
tree | 0b9faa4b152a9c3589226000c9e4fb01620f3225 /camel/camel-tcp-stream-openssl.h | |
parent | 13afe783505cb99b902ec4b29c46fb14ec8006f0 (diff) | |
download | gsoc2013-evolution-a9df5de4af55791e4d4aeb3533bcc715e28c1512.tar gsoc2013-evolution-a9df5de4af55791e4d4aeb3533bcc715e28c1512.tar.gz gsoc2013-evolution-a9df5de4af55791e4d4aeb3533bcc715e28c1512.tar.bz2 gsoc2013-evolution-a9df5de4af55791e4d4aeb3533bcc715e28c1512.tar.lz gsoc2013-evolution-a9df5de4af55791e4d4aeb3533bcc715e28c1512.tar.xz gsoc2013-evolution-a9df5de4af55791e4d4aeb3533bcc715e28c1512.tar.zst gsoc2013-evolution-a9df5de4af55791e4d4aeb3533bcc715e28c1512.zip |
Print info about the issuer of the certificate.
2001-03-16 Jeffrey Stedfast <fejj@ximian.com>
* camel-tcp-stream-ssl.c (ssl_bad_cert): Print info about the
issuer of the certificate.
* providers/smtp/camel-smtp-transport.c (smtp_connect): Use
camel_tcp_stream_get_socket().
* camel-tcp-stream-openssl.c (stream_get_socket): Implemented.
* camel-tcp-stream-ssl.c (stream_get_socket): Implemented.
* camel-tcp-stream-raw.c (stream_get_socket): Implemented.
* camel-tcp-stream.c (camel_tcp_stream_get_socket): New function.
svn path=/trunk/; revision=8764
Diffstat (limited to 'camel/camel-tcp-stream-openssl.h')
-rw-r--r-- | camel/camel-tcp-stream-openssl.h | 8 |
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 */ |