aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-tcp-stream-ssl.c
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@src.gnome.org>2001-05-13 09:42:48 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2001-05-13 09:42:48 +0800
commit40e30e58b8ebc27099a14033e41e529075df33a9 (patch)
treee3742875928f65936b1b2dd153d2ed24182e4e4c /camel/camel-tcp-stream-ssl.c
parent9a9a51c562d402f2324e662125859d7b23410784 (diff)
downloadgsoc2013-evolution-40e30e58b8ebc27099a14033e41e529075df33a9.tar.gz
gsoc2013-evolution-40e30e58b8ebc27099a14033e41e529075df33a9.tar.zst
gsoc2013-evolution-40e30e58b8ebc27099a14033e41e529075df33a9.zip
s/SSL_Enable/SSL_SetOption
svn path=/trunk/; revision=9784
Diffstat (limited to 'camel/camel-tcp-stream-ssl.c')
-rw-r--r--camel/camel-tcp-stream-ssl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/camel/camel-tcp-stream-ssl.c b/camel/camel-tcp-stream-ssl.c
index 6d5e25e37a..dac53c9dd4 100644
--- a/camel/camel-tcp-stream-ssl.c
+++ b/camel/camel-tcp-stream-ssl.c
@@ -394,7 +394,7 @@ stream_connect (CamelTcpStream *stream, struct hostent *host, int port)
fd = PR_OpenTCPSocket (host->h_addrtype);
ssl_fd = SSL_ImportFD (NULL, fd);
- SSL_Enable (ssl_fd, SSL_SECURITY, PR_TRUE);
+ SSL_SetOption (ssl_fd, SSL_SECURITY, PR_TRUE);
SSL_SetURL (ssl_fd, ssl->priv->expected_host);
if (ssl_fd == NULL || PR_Connect (ssl_fd, &netaddr, timeout) == PR_FAILURE) {