| 1768 | typedef STL::list<ThreadError>::iterator thr_iterator; |
| 1769 | |
| 1770 | struct sess_match { |
| 1771 | const opaque* id_; |
| 1772 | explicit sess_match(const opaque* p) : id_(p) {} |
| 1773 | |
| 1774 | bool operator()(SSL_SESSION* sess) |
| 1775 | { |
| 1776 | if ( memcmp(sess->GetID(), id_, ID_LEN) == 0) |
| 1777 | return true; |
| 1778 | return false; |
| 1779 | } |
| 1780 | }; |
| 1781 | |
| 1782 | |
| 1783 | THREAD_ID_T GetSelf() |