| 945 | } |
| 946 | |
| 947 | int tlsProcessPendingData() { |
| 948 | listIter li; |
| 949 | listNode *ln; |
| 950 | |
| 951 | int processed = listLength(pending_list); |
| 952 | listRewind(pending_list,&li); |
| 953 | while((ln = listNext(&li))) { |
| 954 | tls_connection *conn = listNodeValue(ln); |
| 955 | tlsHandleEvent(conn, AE_READABLE); |
| 956 | } |
| 957 | return processed; |
| 958 | } |
| 959 | |
| 960 | /* Fetch the peer certificate used for authentication on the specified |
| 961 | * connection and return it as a PEM-encoded sds. |
no test coverage detected