Branch: Tag:

2015-09-13

2015-09-13 10:10:12 by Henrik Grubbström (Grubba) <grubba@grubba.org>

SSL.Context: Added option to disable renegotiation.

This is a feature required by HTTP/2 (RFC 7540 9.2.1).

1036:    !secure_renegotiation, ALERT_no_renegotiation,    "Renegotiation not supported in unsecure mode.\n");    +  COND_FATAL(!(state & CONNECTION_handshaking) && +  !context->enable_renegotiation, ALERT_no_renegotiation, +  "Renegotiation disabled by context.\n"); +     /* No change_cipher message was received */    // FIXME: There's a bug somewhere since expect_change_cipher    // often remains set after the handshake is completed. The