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>