Re: openssl server renogiation bug in wget
Hrvoje Niksic <[email protected]> Fri, 26 Aug 2005 13:00:49 +0200
| Newsgroups | gmane.comp.web.wget.patches |
|---|---|
| Message-ID | <[email protected]> |
Thanks for the report; I've applied this patch: 2005-08-26 Jeremy Shapiro <[email protected]> * openssl.c (ssl_init): Set SSL_MODE_AUTO_RETRY. Index: openssl.c =================================================================== --- openssl.c (revision 2063) +++ openssl.c (working copy) @@ -225,6 +225,10 @@ handles them correctly), allow them in OpenSSL. */ SSL_CTX_set_mode (ssl_ctx, SSL_MODE_ENABLE_PARTIAL_WRITE); + /* The OpenSSL library can handle renegotiations automatically, so + tell it to do so. */ + SSL_CTX_set_mode (ssl_ctx, SSL_MODE_AUTO_RETRY); + return true; error: