commit f1f164744850efa02280496baca3900f2910b180
Author:     Ben Kibbey <b...@luxsci.net>
AuthorDate: Sun Sep 2 11:35:08 2012 -0400
Commit:     Oswald Buddenhagen <o...@kde.org>
CommitDate: Sat Sep 8 14:26:22 2012 +0200

    Fix certificate verification.
    
    The connection state wasn't getting updated.

 src/socket.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/socket.c b/src/socket.c
index e952957..53d7545 100644
--- a/src/socket.c
+++ b/src/socket.c
@@ -278,6 +278,7 @@ socket_start_tls( conn_t *conn, void (*cb)( int ok, void 
*aux ) )
        conn->ssl = SSL_new( ((server_conf_t *)conn->conf)->SSLContext );
        SSL_set_fd( conn->ssl, conn->fd );
        SSL_set_mode( conn->ssl, SSL_MODE_ACCEPT_MOVING_WRITE_BUFFER );
+       conn->state = SCK_STARTTLS;
        start_tls_p2( conn );
 }
 

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
isync-devel mailing list
isync-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/isync-devel

Reply via email to