ASPLes / nopoll

OpenSource WebSocket toolkit
http://www.aspl.es/nopoll
GNU Lesser General Public License v2.1
124 stars 74 forks source link

Nopoll create connection can fail if server is using PSK cipher. #4

Open cbucht200-zz opened 8 years ago

cbucht200-zz commented 8 years ago

If a server is using a PSK cipher offered by OpenSSL, a client using nopoll will not be able to connect due to lines 919-929 in nopoll_conn.c. In a PSK connection, the server doesn't always need to supply a certificate.