Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/boringssl.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Benjamin <davidben@chromium.org>2015-08-22 19:49:30 +0300
committerAdam Langley <agl@google.com>2015-08-29 01:05:53 +0300
commit6505567172c132f1ffb12fa1bef0b11caa9c2c66 (patch)
treefdd3c7e947e499332640119405056cbfe9f41380 /include/openssl/ssl3.h
parent621f95a3ead194342b1c33bfc636aec05f7b922f (diff)
Move peer_dh_tmp and peer_ecdh_tmp out of SESS_CERT.
Gets another field out of the SSL_SESSION. Change-Id: I9a27255533f8e43e152808427466ec1306cfcc60 Reviewed-on: https://boringssl-review.googlesource.com/5756 Reviewed-by: Adam Langley <agl@google.com>
Diffstat (limited to 'include/openssl/ssl3.h')
-rw-r--r--include/openssl/ssl3.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/openssl/ssl3.h b/include/openssl/ssl3.h
index e04412f7..9c272a67 100644
--- a/include/openssl/ssl3.h
+++ b/include/openssl/ssl3.h
@@ -519,6 +519,12 @@ typedef struct ssl3_state_st {
/* Client-only: in_false_start is one if there is a pending handshake in
* False Start. The client may write data at this point. */
char in_false_start;
+
+ /* peer_dh_tmp, on a client, is the server's DHE public key. */
+ DH *peer_dh_tmp;
+
+ /* peer_ecdh_tmp, on a client, is the server's ECDHE public key. */
+ EC_KEY *peer_ecdh_tmp;
} tmp;
/* Connection binding to prevent renegotiation attacks */