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? */ |