diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2009-11-09 18:45:42 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2009-11-09 18:45:42 +0000 |
commit | bc9058d041e32f75337a4dc8b8e1d10f7553871a (patch) | |
tree | a0a04d5534ad92119b6982ed98c34b77c60c0703 /ssl/ssl3.h | |
parent | 4a276f3039f49d1974c07f1779b28e4fe73833ad (diff) |
First cut of renegotiation extension. (port to 1.0.0-stable)
Diffstat (limited to 'ssl/ssl3.h')
-rw-r--r-- | ssl/ssl3.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/ssl/ssl3.h b/ssl/ssl3.h index a4a6ce28c3..5f0eee6dbb 100644 --- a/ssl/ssl3.h +++ b/ssl/ssl3.h @@ -503,6 +503,12 @@ typedef struct ssl3_state_st int cert_request; } tmp; + /* Connection binding to prevent renegotiation attacks */ + unsigned char previous_client_finished[EVP_MAX_MD_SIZE]; + unsigned char previous_client_finished_len; + unsigned char previous_server_finished[EVP_MAX_MD_SIZE]; + unsigned char previous_server_finished_len; + int send_connection_binding; /* TODOEKR */ } SSL3_STATE; |