diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2009-11-09 19:03:34 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2009-11-09 19:03:34 +0000 |
commit | e0e7997212c3c688140a2d8a13f9dcd03f202443 (patch) | |
tree | 0caeb7ee0d7fae76c0a151e3d6f13c28a44c53a2 /ssl/ssl3.h | |
parent | befbd0619b6d1aaf9e70cfbf113afb141009bced (diff) |
First cut of renegotiation extension. (port to HEAD)
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; |