Steffen Nurpmeso wrote in <20200812132648.kaxsj%stef...@sdaoden.eu>: |Steffen Nurpmeso wrote in | <20200812130039.lto3i%stef...@sdaoden.eu>: ||Predrag Punosevac wrote in || <20200811212622.ugmda%punoseva...@gmail.com>: |||This is a regression report for 019_libssl.patch | ... |||After applying libssl binary patch to 6.7 release s-nail-14.9.19 can no |||longer close STARTTLS IPMI session with Gmail server. I recompiled | ... ||Hmm. I can reproduce this here indeed. | ... || nail: >>> QUIT || nail: >>> SERVER: 221 2.0.0 closing connection g9sm1477447ejf.101 \ || - gsmtp || ||And here it hangs endlessly. For now i presume it hangs at || || while (!SSL_shutdown(s_tls)) /* XXX proper error handling;signals! */ || ; | |I can confirm we have an endless loop in SSL_shutdown() here.
P.S.: this is ugly code. P.P.S.: new OpenSSL documents that SSL_read() should be used instead of a second SSL_shutdown(). I will ask about that on a openssl-user list when i find some head. But .. will this work with libressl too?? Thanks. --steffen | |Der Kragenbaer, The moon bear, |der holt sich munter he cheerfully and one by one |einen nach dem anderen runter wa.ks himself off |(By Robert Gernhardt)