Fix compile error with renego disabled
diff --git a/ChangeLog b/ChangeLog
index 9f97da7..1a1d0de 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -25,6 +25,9 @@
* Fix potential unintended sign extension in asn1_get_len() on 64-bit
platforms.
* Fix potential memory leak in ssl_set_psk() (found by Mansour Moufid).
+ * Fix compile error when POLARSSL_SSL_DISABLE_RENEGOTATION and
+ POLARSSL_SSL_SSESSION_TICKETS where both enabled in config.h (introduced
+ in 1.3.10).
Changes
* ssl_set_own_cert() now longers calls pk_check_pair() since the
diff --git a/library/ssl_cli.c b/library/ssl_cli.c
index f3d570c..37853bc 100644
--- a/library/ssl_cli.c
+++ b/library/ssl_cli.c
@@ -602,8 +602,8 @@
*/
#if defined(POLARSSL_SSL_RENEGOTIATION)
if( ssl->renegotiation == SSL_INITIAL_HANDSHAKE )
- {
#endif
+ {
if( ssl->session_negotiate->ticket != NULL &&
ssl->session_negotiate->ticket_len != 0 )
{