aboutsummaryrefslogtreecommitdiffstats
path: root/camel
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@src.gnome.org>2001-09-24 08:39:24 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2001-09-24 08:39:24 +0800
commitd4f1993073d50934cc595f80564111b66cc8593f (patch)
tree76535ddb08c0df17123143f85d700175de8fa766 /camel
parent3c632cd045d672318d94f75c4b4771007342a46c (diff)
downloadgsoc2013-evolution-d4f1993073d50934cc595f80564111b66cc8593f.tar.gz
gsoc2013-evolution-d4f1993073d50934cc595f80564111b66cc8593f.tar.zst
gsoc2013-evolution-d4f1993073d50934cc595f80564111b66cc8593f.zip
fixed compile warning
svn path=/trunk/; revision=13090
Diffstat (limited to 'camel')
-rw-r--r--camel/camel-tcp-stream-openssl.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/camel/camel-tcp-stream-openssl.c b/camel/camel-tcp-stream-openssl.c
index 3271754fd7..256073d806 100644
--- a/camel/camel-tcp-stream-openssl.c
+++ b/camel/camel-tcp-stream-openssl.c
@@ -443,7 +443,6 @@ static int
ssl_verify (int ok, X509_STORE_CTX *ctx)
{
CamelTcpStreamOpenSSL *stream;
- CamelService *service;
X509 *cert;
SSL *ssl;
int err;
@@ -451,12 +450,12 @@ ssl_verify (int ok, X509_STORE_CTX *ctx)
ssl = X509_STORE_CTX_get_ex_data (ctx, SSL_get_ex_data_X509_STORE_CTX_idx ());
stream = SSL_CTX_get_app_data (ssl->ctx);
- service = stream ? stream->priv->service : NULL;
cert = X509_STORE_CTX_get_current_cert (ctx);
err = X509_STORE_CTX_get_error (ctx);
- if (!ok && stream && camel_session_is_interactive (service->session)) {
+ if (!ok && stream) {
+ CamelService *service = stream->priv->service;
char *prompt, *cert_str;
char buf[257];