aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-tcp-stream-ssl.c
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@src.gnome.org>2001-05-13 09:44:16 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2001-05-13 09:44:16 +0800
commit7a8894af6017020cf3217a16fe1d8b720e81c1e5 (patch)
tree9837e63d6e3f8800718c2145d16b8b248313a5d6 /camel/camel-tcp-stream-ssl.c
parent40e30e58b8ebc27099a14033e41e529075df33a9 (diff)
downloadgsoc2013-evolution-7a8894af6017020cf3217a16fe1d8b720e81c1e5.tar.gz
gsoc2013-evolution-7a8894af6017020cf3217a16fe1d8b720e81c1e5.tar.zst
gsoc2013-evolution-7a8894af6017020cf3217a16fe1d8b720e81c1e5.zip
er, OptionSet
svn path=/trunk/; revision=9785
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 dac53c9dd4..cc41aaaa88 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_SetOption (ssl_fd, SSL_SECURITY, PR_TRUE);
+ SSL_OptionSet (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) {