Merge commit 'f6080b8
' into dtls
* commit 'f6080b8
':
Fix warning in reduced configs
Adapt to "negative" switch for renego
Add tests for periodic renegotiation
Make renego period configurable
Auto-renegotiate before sequence number wrapping
Update Changelog for compile-option renegotiation
Switch from an enable to a disable flag
Save 48 bytes if SSLv3 is not defined
Make renegotiation a compile-time option
Add tests for renego security enforcement
Conflicts:
include/polarssl/ssl.h
library/ssl_cli.c
library/ssl_srv.c
library/ssl_tls.c
programs/ssl/ssl_server2.c
tests/ssl-opt.sh
This commit is contained in:
commit
0af1ba3521
14 changed files with 492 additions and 91 deletions
|
@ -886,6 +886,24 @@
|
|||
*/
|
||||
//#define POLARSSL_SSL_HW_RECORD_ACCEL
|
||||
|
||||
/**
|
||||
* \def POLARSSL_SSL_DISABLE_RENEGOTIATION
|
||||
*
|
||||
* Disable support for TLS renegotiation.
|
||||
*
|
||||
* The two main uses of renegotiation are (1) refresh keys on long-lived
|
||||
* connections and (2) client authentication after the initial handshake.
|
||||
* If you don't need renegotiation, it's probably better to disable it, since
|
||||
* it has been associated with security issues in the past and is easy to
|
||||
* misuse/misunderstand.
|
||||
*
|
||||
* Warning: in the next stable branch, this switch will be replaced by
|
||||
* POLARSSL_SSL_RENEGOTIATION to enable support for renegotiation.
|
||||
*
|
||||
* Uncomment this to disable support for renegotiation.
|
||||
*/
|
||||
//#define POLARSSL_SSL_DISABLE_RENEGOTIATION
|
||||
|
||||
/**
|
||||
* \def POLARSSL_SSL_SRV_SUPPORT_SSLV2_CLIENT_HELLO
|
||||
*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue