boringssl/ssl
David Benjamin 605641ed95 Move the NULL case in ssl_add_cert_chain up.
It's only called for client certificates with NULL. The interaction with
extra_certs is more obvious if we handle that case externally. (We
shouldn't attach extra_certs if there is no leaf.)

Change-Id: I9dc26f32f582be8c48a4da9aae0ceee8741813dc
Reviewed-on: https://boringssl-review.googlesource.com/4613
Reviewed-by: Adam Langley <agl@google.com>
2015-05-06 22:53:53 +00:00
..
pqueue Fix memory leak in pqueue_test. 2015-02-11 23:18:45 +00:00
test Promote all dtls1_ctrl hooks to functions. 2015-05-06 22:11:05 +00:00
CMakeLists.txt Document everything in ssl_ciph.c, now ssl_cipher.c. 2015-04-13 22:06:55 +00:00
d1_both.c Promote max_cert_list and max_send_fragment to functions. 2015-05-06 22:14:07 +00:00
d1_clnt.c Remove unnecessary NULL checks, part 5. 2015-05-04 23:16:19 +00:00
d1_lib.c Promote all dtls1_ctrl hooks to functions. 2015-05-06 22:11:05 +00:00
d1_meth.c Promote all dtls1_ctrl hooks to functions. 2015-05-06 22:11:05 +00:00
d1_pkt.c Promote all dtls1_ctrl hooks to functions. 2015-05-06 22:11:05 +00:00
d1_srtp.c Include-what-you-use ssl/internal.h. 2015-04-10 22:15:02 +00:00
d1_srvr.c Remove unnecessary NULL checks, part 5. 2015-05-04 23:16:19 +00:00
internal.h Promote all dtls1_ctrl hooks to functions. 2015-05-06 22:11:05 +00:00
s3_both.c Move the NULL case in ssl_add_cert_chain up. 2015-05-06 22:53:53 +00:00
s3_clnt.c Promote max_cert_list and max_send_fragment to functions. 2015-05-06 22:14:07 +00:00
s3_enc.c Remove unnecessary NULL checks, part 5. 2015-05-04 23:16:19 +00:00
s3_lib.c Build fix. 2015-05-06 15:47:17 -07:00
s3_meth.c Promote all SSL callback ctrl hooks to proper functions. 2015-05-06 22:10:47 +00:00
s3_pkt.c Add SSL_set_reject_peer_renegotiations. 2015-04-13 22:38:58 +00:00
s3_srvr.c Always set SSL_OP_SINGLE_DH_USE. 2015-05-06 22:24:53 +00:00
ssl_algs.c Rename ssl_locl.h to internal.h 2015-04-10 22:14:09 +00:00
ssl_asn1.c Remove unnecessary NULL checks, part 5. 2015-05-04 23:16:19 +00:00
ssl_cert.c Move the NULL case in ssl_add_cert_chain up. 2015-05-06 22:53:53 +00:00
ssl_cipher.c Remove dead field from CIPHER_ORDER. 2015-05-06 22:36:31 +00:00
ssl_lib.c Promote everything directly in SSL_CTX_ctrl. 2015-05-06 22:22:36 +00:00
ssl_rsa.c Errors are uint32_t, not unsigned long. 2015-05-05 18:48:01 +00:00
ssl_sess.c Remove unnecessary NULL checks, part 5. 2015-05-04 23:16:19 +00:00
ssl_stat.c Rename ssl_locl.h to internal.h 2015-04-10 22:14:09 +00:00
ssl_test.cc Revert "Temporarily break a handful of tests." 2015-05-04 20:21:32 -04:00
ssl_txt.c Rename ssl_locl.h to internal.h 2015-04-10 22:14:09 +00:00
t1_enc.c Document everything in ssl_ciph.c, now ssl_cipher.c. 2015-04-13 22:06:55 +00:00
t1_lib.c Cast to size_t to avoid MSVC warning. 2015-05-05 12:05:01 -07:00
t1_reneg.c Include-what-you-use ssl/internal.h. 2015-04-10 22:15:02 +00:00