]> granicus.if.org Git - libevent/commit
be_openssl: don't call set_open_callbacks() if fd == -1
authorAzat Khuzhin <a3at.mail@gmail.com>
Wed, 2 Sep 2015 11:19:16 +0000 (14:19 +0300)
committerAzat Khuzhin <a3at.mail@gmail.com>
Wed, 2 Sep 2015 16:27:09 +0000 (19:27 +0300)
commite8a2da96e3fedc3ebf7d322df0fac155dfb41717
treea16b48d89876c5fe131fdcfe7115fe9b03a3f027
parent2a8a7112a5918387c015658af347b6b8f692c6b2
be_openssl: don't call set_open_callbacks() if fd == -1

This must be illegal, firstly we must do set_do handshake and only after this
we could read/write.
bufferevent_openssl.c