diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2015-01-23 02:41:09 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2015-02-03 14:50:07 +0000 |
commit | c660ec63a83090051f3e110b00bd5753f21bce51 (patch) | |
tree | 2109e0ad1a7869424e4d2b254865e7cd24a71f9e /ssl/ssl_locl.h | |
parent | 48fbcbacd2b22ab8d1bd9203a8fdc316eaab62f1 (diff) |
Rewrite ssl3_send_client_key_exchange to support extms.
Rewrite ssl3_send_client_key_exchange to retain the premaster secret
instead of using it immediately.
This is needed because the premaster secret is used after the client key
exchange message has been sent to compute the extended master secret.
Reviewed-by: Tim Hudson <tjh@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
Diffstat (limited to 'ssl/ssl_locl.h')
-rw-r--r-- | ssl/ssl_locl.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ssl/ssl_locl.h b/ssl/ssl_locl.h index 0d461302c5..49425d8572 100644 --- a/ssl/ssl_locl.h +++ b/ssl/ssl_locl.h @@ -1679,6 +1679,9 @@ typedef struct cert_st { */ unsigned char *ctypes; size_t ctype_num; + /* Temporary storage for premaster secret */ + unsigned char *pms; + size_t pmslen; /* * signature algorithms peer reports: e.g. supported signature algorithms * extension for server or as part of a certificate request for client. |