]> granicus.if.org Git - openssl/commit
Rewrite ssl3_send_client_key_exchange to support extms.
authorDr. Stephen Henson <steve@openssl.org>
Fri, 23 Jan 2015 02:41:09 +0000 (02:41 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Tue, 3 Feb 2015 14:50:07 +0000 (14:50 +0000)
commitc660ec63a83090051f3e110b00bd5753f21bce51
tree2109e0ad1a7869424e4d2b254865e7cd24a71f9e
parent48fbcbacd2b22ab8d1bd9203a8fdc316eaab62f1
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>
ssl/s3_clnt.c
ssl/ssl_cert.c
ssl/ssl_locl.h