Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 163782 | Differences between
and this patch

Collapse All | Expand All

(-)pop3.c (-11 / +12 lines)
Lines 635-651 Link Here
635
	}
635
	}
636
	memset(shroud, 0x55, sizeof(shroud));
636
	memset(shroud, 0x55, sizeof(shroud));
637
	shroud[0] = '\0';
637
	shroud[0] = '\0';
638
#ifdef SSL_ENABLE
639
	/* this is for servers which claim to support TLS, but actually
640
	 * don't! */
641
	if (connection_may_have_tls_errors && ok == PS_SOCKET)
642
	{
643
	    xfree(ctl->sslproto);
644
	    ctl->sslproto = xstrdup("");
645
	    /* repoll immediately without TLS */
646
	    ok = PS_REPOLL;
647
	}
648
#endif
649
	break;
638
	break;
650
639
651
    case P_APOP:
640
    case P_APOP:
Lines 694-699 Link Here
694
	ok = PS_ERROR;
683
	ok = PS_ERROR;
695
    }
684
    }
696
685
686
#ifdef SSL_ENABLE
687
    /* this is for servers which claim to support TLS, but actually
688
     * don't! */
689
    if (connection_may_have_tls_errors && ok == PS_SOCKET)
690
    {
691
	xfree(ctl->sslproto);
692
	ctl->sslproto = xstrdup("");
693
	/* repoll immediately without TLS */
694
	ok = PS_REPOLL;
695
    }
696
#endif
697
697
    if (ok != 0)
698
    if (ok != 0)
698
    {
699
    {
699
	/* maybe we detected a lock-busy condition? */
700
	/* maybe we detected a lock-busy condition? */

Return to bug 163782