[openssl-users] Close socket without SSL_shutdown

dE de.techno at gmail.com
Wed Apr 8 03:18:48 UTC 2015


I'm using SSL over non-blocking socket. As a result SSL_shutdown returns 
immediately with error code 5 (underlying socket issue), sometimes after 
doing this, the program crashes on SSL_CTX_free.

So I was wondering about closing the socket without doing an 
SSL_shutdown. Is this safe? Any security consequences?


More information about the openssl-users mailing list