| 1 |
Testing safe renegotiation is relatively complex, here is a summary of |
| 2 |
what we test and what how we believe it should work. |
| 3 |
|
| 4 |
srn0.c: |
| 5 |
|
| 6 |
This tests that the safe renegotiation extension is negotiated |
| 7 |
properly by default on initial connections and on rehandshaked |
| 8 |
connections. Consequently, it also verifies that rehandshaked |
| 9 |
connections work with the extension enabled. |
| 10 |
|
| 11 |
srn4.c: |
| 12 |
|
| 13 |
This tests that clients without support for safe renegotiation is |
| 14 |
able to handshake properly against a default GnuTLS server, but |
| 15 |
that rehandshake will be refused by the server. |
| 16 |
|
| 17 |
srn5.c: |
| 18 |
This tests that clients with support for safe renegotiation is able |
| 19 |
to handshake properly against a server with no support for safe |
| 20 |
renegotiation, but that the client will not be able to complete a |
| 21 |
rehandshake. |