commit | f63bd1f440905963647c68a896db0c85e8914d11 | [log] [tgz] |
---|---|---|
author | Robert Sloan <varomodt@google.com> | Tue Apr 16 09:26:20 2019 -0700 |
committer | Robert Sloan <varomodt@google.com> | Tue Apr 16 09:26:20 2019 -0700 |
tree | 5bfdfa9db8642d577ef86e52257844b934be87c4 | |
parent | 4726ed3660caaf209857097358032c4257d910ad [diff] [blame] |
external/boringssl: Sync to c9827e073f64e353c4891ecc2c73721882543ee0. This includes the following changes: https://boringssl.googlesource.com/boringssl/+log/387b07b78dac785a341eeb2ff86e29393ffe8627..c9827e073f64e353c4891ecc2c73721882543ee0 Test: atest CtsLibcoreTestCases (TODO) Change-Id: Ie7c2899ac4ea374113e0fe3b76f9a4dce36ea8de
diff --git a/src/ssl/t1_lib.cc b/src/ssl/t1_lib.cc index c0452dc..87f1888 100644 --- a/src/ssl/t1_lib.cc +++ b/src/ssl/t1_lib.cc
@@ -199,10 +199,10 @@ return true; } -bool ssl_client_hello_init(SSL *ssl, SSL_CLIENT_HELLO *out, +bool ssl_client_hello_init(const SSL *ssl, SSL_CLIENT_HELLO *out, const SSLMessage &msg) { OPENSSL_memset(out, 0, sizeof(*out)); - out->ssl = ssl; + out->ssl = const_cast<SSL *>(ssl); out->client_hello = CBS_data(&msg.body); out->client_hello_len = CBS_len(&msg.body);