blob: c92e624d79dcd1addaf0a38962e608770c78bf4a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
--- transports/smtp/smtptls.c.orig 2008-02-13 12:44:21.000000000 +0100
+++ transports/smtp/smtptls.c 2008-02-13 12:45:10.000000000 +0100
@@ -1878,7 +1878,11 @@
e = EAGAIN;
break;
case SSL_ERROR_SSL:
+#ifdef EPROTO
e = EPROTO;
+#else
+ e = 1;
+#endif
default:
SS->TLS.wantreadwrite = 0;
break;
@@ -2056,7 +2060,11 @@
e = EAGAIN;
break;
case SSL_ERROR_SSL:
+#ifdef EPROTO
e = EPROTO;
+#else
+ e = 1;
+#endif
default:
SS->TLS.wantreadwrite = 0;
break;
|