From 3b2c0d6162e6ea05bd58873ef27db1b5988a10ad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20P=C3=A9gouri=C3=A9-Gonnard?= Date: Tue, 10 Mar 2015 13:20:49 +0000 Subject: [PATCH] Add comments on some renego flags --- include/mbedtls/ssl.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/mbedtls/ssl.h b/include/mbedtls/ssl.h index 291810a8e..569fdb58d 100644 --- a/include/mbedtls/ssl.h +++ b/include/mbedtls/ssl.h @@ -979,6 +979,7 @@ struct _ssl_context unsigned char renego_period[8]; /*!< value of the record counters that triggers renegotiation */ #endif + /* needed for option break handshake with insecure peers */ int allow_legacy_renegotiation; /*!< allow legacy renegotiation */ const int *ciphersuite_list[4]; /*!< allowed ciphersuites / version */ #if defined(POLARSSL_SSL_SET_CURVES) @@ -1039,6 +1040,7 @@ struct _ssl_context /* * Secure renegotiation */ + /* needed to know when to send extension on server */ int secure_renegotiation; /*!< does peer support legacy or secure renegotiation */ #if defined(POLARSSL_SSL_RENEGOTIATION)