20:ad5eb4fd28f5 | 21:c3755cb3d246 |
---|---|
17 #include "buffer.h" | 17 #include "buffer.h" |
18 #include "timeout.h" | 18 #include "timeout.h" |
19 #include "socket.h" | 19 #include "socket.h" |
20 #include "ssl.h" | 20 #include "ssl.h" |
21 #include "x509.h" | 21 #include "x509.h" |
22 | |
23 #define min(a, b) (a<b)?a:b | |
24 | 22 |
25 /** | 23 /** |
26 * Map error code into string. | 24 * Map error code into string. |
27 */ | 25 */ |
28 static const char *ssl_ioerror(void *ctx, int err) | 26 static const char *ssl_ioerror(void *ctx, int err) |