boringssl/ssl
David Benjamin d1d8078025 Fold away certificate slots mechanism.
This allows us to remove the confusing EVP_PKEY argument to the
SSL_PRIVATE_KEY_METHOD wrapper functions. It also simplifies some of the
book-keeping around the CERT structure, as well as the API for
configuring certificates themselves. The current one is a little odd as
some functions automatically route to the slot while others affect the
most recently touched slot. Others still (extra_certs) apply to all
slots, making them not terribly useful.

Consumers with complex needs should use cert_cb or the early callback
(select_certificate_cb) to configure whatever they like based on the
ClientHello.

BUG=486295

Change-Id: Ice29ffeb867fa4959898b70dfc50fc00137f01f3
Reviewed-on: https://boringssl-review.googlesource.com/5351
Reviewed-by: Adam Langley <agl@google.com>
2015-07-07 01:22:13 +00:00
..
pqueue Fix some malloc test crashs. 2015-05-21 18:00:10 +00:00
test Convert the renegotiation extension to the new system. 2015-07-01 19:30:53 +00:00
CMakeLists.txt Convert the renegotiation extension to the new system. 2015-07-01 19:30:53 +00:00
d1_both.c Add CBB_zero to set a CBB to the zero state. 2015-07-01 19:45:43 +00:00
d1_clnt.c Prune ssl3_check_cert_and_algorithm. 2015-06-08 22:27:12 +00:00
d1_lib.c Further tidy up cipher logic. 2015-06-01 22:48:30 +00:00
d1_meth.c Further tidy up cipher logic. 2015-06-01 22:48:30 +00:00
d1_pkt.c Split ssl_read_bytes hook into app_data and close_notify hooks. 2015-06-01 22:27:55 +00:00
d1_srtp.c Fix STACK_OF pointer style. 2015-05-06 22:55:16 +00:00
d1_srvr.c Decide whether or not to request client certificates early. 2015-05-27 21:53:16 +00:00
internal.h Fold away certificate slots mechanism. 2015-07-07 01:22:13 +00:00
s3_both.c Fold away certificate slots mechanism. 2015-07-07 01:22:13 +00:00
s3_clnt.c Fold away certificate slots mechanism. 2015-07-07 01:22:13 +00:00
s3_enc.c Remove unnecessary NULL checks, part 5. 2015-05-04 23:16:19 +00:00
s3_lib.c Fold away certificate slots mechanism. 2015-07-07 01:22:13 +00:00
s3_meth.c Further tidy up cipher logic. 2015-06-01 22:48:30 +00:00
s3_pkt.c Limit the number of warning alerts silently consumed. 2015-06-08 22:16:14 +00:00
s3_srvr.c Fold away certificate slots mechanism. 2015-07-07 01:22:13 +00:00
ssl_aead_ctx.c Factor SSL_AEAD_CTX into a dedicated type. 2015-05-21 17:59:15 +00:00
ssl_algs.c Rename ssl_locl.h to internal.h 2015-04-10 22:14:09 +00:00
ssl_asn1.c Add CBB_zero to set a CBB to the zero state. 2015-07-01 19:45:43 +00:00
ssl_cert.c Fold away certificate slots mechanism. 2015-07-07 01:22:13 +00:00
ssl_cipher.c Fold away certificate slots mechanism. 2015-07-07 01:22:13 +00:00
ssl_lib.c Fold away certificate slots mechanism. 2015-07-07 01:22:13 +00:00
ssl_rsa.c Fold away certificate slots mechanism. 2015-07-07 01:22:13 +00:00
ssl_sess.c Fix Windows build. 2015-07-01 23:01:05 +00:00
ssl_stat.c Remove ssl2.h and ssl23.h. 2015-07-01 21:47:01 +00:00
ssl_test.cc Add SSL_SESSION_from_bytes. 2015-06-16 18:12:39 +00:00
ssl_txt.c Rename ssl_locl.h to internal.h 2015-04-10 22:14:09 +00:00
t1_enc.c Fold TLS1_PRF_* into SSL_HANDSHAKE_MAC_* 2015-06-01 22:43:06 +00:00
t1_lib.c Fold away certificate slots mechanism. 2015-07-07 01:22:13 +00:00