Use gnutls_priority override for STARTTLS as well.
authorAndrej Kacian <ticho@claws-mail.org>
Wed, 22 Oct 2014 15:04:56 +0000 (17:04 +0200)
committerAndrej Kacian <ticho@claws-mail.org>
Wed, 22 Oct 2014 15:04:56 +0000 (17:04 +0200)
src/common/session.c

index 6926d76..15d4fba 100644 (file)
@@ -374,6 +374,7 @@ gint session_start_tls(Session *session)
        nb_mode = sock_is_nonblocking_mode(session->sock);
 
        session->sock->ssl_cert_auto_accept = session->ssl_cert_auto_accept;
+       session->sock->gnutls_priority = session->gnutls_priority;
 
        if (nb_mode)
                sock_set_nonblocking_mode(session->sock, FALSE);