| 876 | } |
| 877 | |
| 878 | static ssize_t connTLSSyncRead(connection *conn_, char *ptr, ssize_t size, long long timeout) { |
| 879 | tls_connection *conn = (tls_connection *) conn_; |
| 880 | |
| 881 | setBlockingTimeout(conn, timeout); |
| 882 | int ret = SSL_read(conn->ssl, ptr, size); |
| 883 | unsetBlockingTimeout(conn); |
| 884 | |
| 885 | return ret; |
| 886 | } |
| 887 | |
| 888 | static ssize_t connTLSSyncReadLine(connection *conn_, char *ptr, ssize_t size, long long timeout) { |
| 889 | tls_connection *conn = (tls_connection *) conn_; |
nothing calls this directly
no test coverage detected