boringssl/ssl
David Benjamin 58150ed59b Add lh_FOO_retrieve_key to avoid stack-allocating SSL_SESSION.
lh_FOO_retrieve is often called with a dummy instance of FOO that has
only a few fields filled in. This works fine for C, but a C++
SSL_SESSION with destructors is a bit more of a nuisance here.

Instead, teach LHASH to allow queries by some external key type. This
avoids stack-allocating SSL_SESSION. Along the way, fix the
make_macros.sh script.

Change-Id: Ie0b482d4ffe1027049d49db63274c7c17f9398fa
Reviewed-on: https://boringssl-review.googlesource.com/29586
Commit-Queue: David Benjamin <davidben@google.com>
CQ-Verified: CQ bot account: commit-bot@chromium.org <commit-bot@chromium.org>
Reviewed-by: Adam Langley <agl@google.com>
2018-07-03 22:56:46 +00:00
..
test Remove the redundant version check in ssl_session_cmp. 2018-07-03 22:54:16 +00:00
bio_ssl.cc
CMakeLists.txt Add initial, experimental support for split handshakes. 2018-01-31 22:24:17 +00:00
custom_extensions.cc
d1_both.cc Fix build with GCC 4.9.2 and -Wtype-limits. 2018-05-08 22:21:45 +00:00
d1_lib.cc
d1_pkt.cc
d1_srtp.cc Move srtp_profiles to SSL_CONFIG. 2018-05-03 15:20:13 +00:00
dtls_method.cc Remove trailing whitespace from ssl/. 2018-02-26 22:05:13 +00:00
dtls_record.cc Use the actual record header, rather than reassembling it. 2018-04-10 19:52:33 +00:00
handoff.cc Remove SSL 3.0 implementation. 2018-06-28 16:54:58 +00:00
handshake_client.cc Add bssl::UpRef. 2018-07-03 22:47:36 +00:00
handshake_server.cc Add bssl::UpRef. 2018-07-03 22:47:36 +00:00
handshake.cc Remove SSL 3.0 implementation. 2018-06-28 16:54:58 +00:00
internal.h Add lh_FOO_retrieve_key to avoid stack-allocating SSL_SESSION. 2018-07-03 22:56:46 +00:00
s3_both.cc Remove SSL 3.0 implementation. 2018-06-28 16:54:58 +00:00
s3_lib.cc SSL_CONFIG: new struct for sheddable handshake configuration. 2018-05-01 20:40:16 +00:00
s3_pkt.cc Pack encrypted handshake messages together. 2018-05-29 14:28:56 +00:00
span_test.cc
ssl_aead_ctx.cc Remove SSL 3.0 implementation. 2018-06-28 16:54:58 +00:00
ssl_asn1.cc Add bssl::UpRef. 2018-07-03 22:47:36 +00:00
ssl_buffer.cc
ssl_cert.cc Add bssl::UpRef. 2018-07-03 22:47:36 +00:00
ssl_cipher.cc Remove SSL 3.0 implementation. 2018-06-28 16:54:58 +00:00
ssl_file.cc Avoid modifying stack in sk_find. 2018-04-12 21:02:12 +00:00
ssl_key_share.cc Check for nullptr result of SSLKeyShare::Create(). 2018-04-10 22:55:53 +00:00
ssl_lib.cc Add lh_FOO_retrieve_key to avoid stack-allocating SSL_SESSION. 2018-07-03 22:56:46 +00:00
ssl_privkey.cc Add bssl::UpRef. 2018-07-03 22:47:36 +00:00
ssl_session.cc Add lh_FOO_retrieve_key to avoid stack-allocating SSL_SESSION. 2018-07-03 22:56:46 +00:00
ssl_stat.cc Remove trailing whitespace from ssl/. 2018-02-26 22:05:13 +00:00
ssl_test.cc Add bssl::UpRef. 2018-07-03 22:47:36 +00:00
ssl_transcript.cc Remove SSL 3.0 implementation. 2018-06-28 16:54:58 +00:00
ssl_versions.cc Remove SSL 3.0 implementation. 2018-06-28 16:54:58 +00:00
ssl_x509.cc Add bssl::UpRef. 2018-07-03 22:47:36 +00:00
t1_enc.cc Remove SSL 3.0 implementation. 2018-06-28 16:54:58 +00:00
t1_lib.cc Remove SSL 3.0 implementation. 2018-06-28 16:54:58 +00:00
tls13_both.cc Implement the client side of certificate compression. 2018-06-18 22:16:11 +00:00
tls13_client.cc Flip SSL_SESSION fields to bool. 2018-07-03 21:26:16 +00:00
tls13_enc.cc Remove draft22 and experiment2. 2018-01-31 18:07:53 +00:00
tls13_server.cc Flip SSL_SESSION fields to bool. 2018-07-03 21:26:16 +00:00
tls_method.cc Pack encrypted handshake messages together. 2018-05-29 14:28:56 +00:00
tls_record.cc Use the actual record header, rather than reassembling it. 2018-04-10 19:52:33 +00:00