boringssl/ssl
Alessandro Ghedini 57e81e666a Name |select_certificate_cb| return values
The |select_certificate_cb| return values are somewhat confusing due
to the fact that they don't match the |cert_cb| ones, despite the
similarities between the two callbacks (they both have "certificate" in
the name! well, sort of).

This also documents the error return value (-1) which was previously
undocumented, and it expands the |SSL_CTX_set_select_certificate_cb|
documentation regarding retrial (by shamelessly copying from
|SSL_CTX_set_ticket_aead_method|).

Also updates other scattered documentation that was missed by previous
changes.

Change-Id: Ib962b31d08e6475e09954cbc3c939988b0ba13f7
Reviewed-on: https://boringssl-review.googlesource.com/14245
Reviewed-by: David Benjamin <davidben@google.com>
Commit-Queue: David Benjamin <davidben@google.com>
CQ-Verified: CQ bot account: commit-bot@chromium.org <commit-bot@chromium.org>
2017-03-22 01:27:00 +00:00
..
test Name |select_certificate_cb| return values 2017-03-22 01:27:00 +00:00
bio_ssl.c Move the SSL BIO into ssl/ from decrepit/. 2017-02-03 21:08:10 +00:00
CMakeLists.txt Convert bio_test to GTest. 2017-03-21 17:39:57 +00:00
custom_extensions.c
d1_both.c Trim x509.h includes. 2017-03-07 23:13:49 +00:00
d1_lib.c Don't use long for timestamps. 2017-03-01 21:58:38 +00:00
d1_pkt.c Remove support for blocking DTLS timeout handling. 2017-03-01 19:59:28 +00:00
d1_srtp.c
dtls_method.c Add |X509_METHOD| and, using it, move many functions to ssl_x509.c. 2017-02-09 18:30:35 +00:00
dtls_record.c Don't use the buffer BIO in DTLS. 2017-01-25 23:35:32 +00:00
handshake_client.c Trim x509.h includes. 2017-03-07 23:13:49 +00:00
handshake_server.c Name |select_certificate_cb| return values 2017-03-22 01:27:00 +00:00
internal.h Support asynchronous ticket decryption with TLS 1.3. 2017-03-11 00:05:29 +00:00
s3_both.c Move ssl_verify_alarm_type into ssl_x509.c. 2017-03-07 23:14:16 +00:00
s3_lib.c Move new_cipher and new_session to SSL_HANDSHAKE. 2017-02-17 20:48:31 +00:00
s3_pkt.c Establish that the default value of an out-arg for alerts is SSL_AD_DECODE_ERROR. 2017-02-09 18:07:30 +00:00
ssl_aead_ctx.c Adding version to AEAD. 2017-03-08 19:12:39 +00:00
ssl_asn1.c Don't use long for timestamps. 2017-03-01 21:58:38 +00:00
ssl_buffer.c Work around language and compiler bug in memcpy, etc. 2016-12-21 20:34:47 +00:00
ssl_cert.c Add |SSL[_CTX]_set_chain_and_key|. 2017-03-08 19:11:57 +00:00
ssl_cipher.c Remove DHE ciphersuites from TLS. 2017-03-21 23:55:10 +00:00
ssl_ecdh.c Remove New Hope key agreement. 2016-12-10 01:06:31 +00:00
ssl_file.c Remove |X509| things from SSL_SESSION. 2017-02-10 19:12:04 +00:00
ssl_lib.c Name |select_certificate_cb| return values 2017-03-22 01:27:00 +00:00
ssl_privkey_cc.cc Rename ssl_rsa.c to ssl_privkey.c. 2017-02-09 18:45:11 +00:00
ssl_privkey.c Add |SSL[_CTX]_set_chain_and_key|. 2017-03-08 19:11:57 +00:00
ssl_session.c Support asynchronous ticket decryption with TLS 1.0–1.2. 2017-03-11 00:04:18 +00:00
ssl_stat.c Unexport the handshake's internal state. 2017-02-13 19:44:30 +00:00
ssl_test.cc Name |select_certificate_cb| return values 2017-03-22 01:27:00 +00:00
ssl_transcript.c Moving transcript and PRF functions to SSL_TRANSCRIPT. 2017-02-10 16:33:42 +00:00
ssl_x509.c Move ssl_verify_alarm_type into ssl_x509.c. 2017-03-07 23:14:16 +00:00
t1_enc.c Move tmp.extended_master_secret to SSL_HANDSHAKE. 2017-02-17 21:36:37 +00:00
t1_lib.c Support asynchronous ticket decryption with TLS 1.3. 2017-03-11 00:05:29 +00:00
tls13_both.c Support asynchronous ticket decryption with TLS 1.3. 2017-03-11 00:05:29 +00:00
tls13_client.c Rename initial_ctx to session_ctx. 2017-03-10 22:50:46 +00:00
tls13_enc.c Move new_cipher and new_session to SSL_HANDSHAKE. 2017-02-17 20:48:31 +00:00
tls13_server.c Support asynchronous ticket decryption with TLS 1.3. 2017-03-11 00:05:29 +00:00
tls_method.c Allow users of the |CRYPTO_BUFFER|-based methods to verify certs after the handshake. 2017-03-08 01:09:42 +00:00
tls_record.c Adding version to AEAD. 2017-03-08 19:12:39 +00:00