a048678cd6
This releases memory associated with them after the handshake. Note this changes the behavior of |SSL_get0_certificate_types| and |SSL_get_client_CA_list| slightly. Both functions now return NULL outside of the handshake. But they were already documented to return something undefined when not called at the CertificateRequest. A survey of callers finds none that would care. (Note SSL_get_client_CA_list is used both as a getter for the corresponding server config setter and to report client handshake properties. Only the latter is affected.) It's also pretty difficult to imagine why a caller would wish to query this stuff at any other time, and there are clear benefits to dropping the CA list after the handshake (some servers send ABSURDLY large lists). Change-Id: I3ac3b601ff0cfa601881ce77ae33d99bb5327004 Reviewed-on: https://boringssl-review.googlesource.com/11521 Reviewed-by: Adam Langley <agl@google.com> |
||
---|---|---|
.. | ||
test | ||
CMakeLists.txt | ||
custom_extensions.c | ||
d1_both.c | ||
d1_lib.c | ||
d1_pkt.c | ||
d1_srtp.c | ||
dtls_method.c | ||
dtls_record.c | ||
handshake_client.c | ||
handshake_server.c | ||
internal.h | ||
s3_both.c | ||
s3_enc.c | ||
s3_lib.c | ||
s3_pkt.c | ||
ssl_aead_ctx.c | ||
ssl_asn1.c | ||
ssl_buffer.c | ||
ssl_cert.c | ||
ssl_cipher.c | ||
ssl_ecdh.c | ||
ssl_file.c | ||
ssl_lib.c | ||
ssl_rsa.c | ||
ssl_session.c | ||
ssl_stat.c | ||
ssl_test.cc | ||
t1_enc.c | ||
t1_lib.c | ||
tls13_both.c | ||
tls13_client.c | ||
tls13_enc.c | ||
tls13_server.c | ||
tls_method.c | ||
tls_record.c |