Add comments on some renego flags

This commit is contained in:
Manuel Pégourié-Gonnard 2015-03-10 13:20:49 +00:00
parent 69849f8595
commit 3b2c0d6162

View File

@ -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)