Use gnutls_priority override also for POP3 connections.
authorAndrej Kacian <ticho@claws-mail.org>
Tue, 21 Oct 2014 17:47:38 +0000 (19:47 +0200)
committerAndrej Kacian <ticho@claws-mail.org>
Tue, 21 Oct 2014 17:47:38 +0000 (19:47 +0200)
src/pop.c

index 2f7eed7..15e1856 100644 (file)
--- a/src/pop.c
+++ b/src/pop.c
@@ -533,6 +533,12 @@ Session *pop3_session_new(PrefsAccount *account)
        SESSION(session)->ssl_cert_auto_accept = account->ssl_certs_auto_accept;
        SESSION(session)->destroy = pop3_session_destroy;
 
+#ifdef USE_GNUTLS
+       if (account->set_gnutls_priority && account->gnutls_priority &&
+                       strlen(account->gnutls_priority) != 0)
+               SESSION(session)->gnutls_priority = g_strdup(account->gnutls_priority);
+#endif
+
        session->state = POP3_READY;
        session->ac_prefs = account;
        session->pop_before_smtp = FALSE;