'Multiple CA names can be sent to the client by calling
:py:obj:`Context.add_client_ca` with multiple X509 objects.'

def test_multiple_add_client_ca(self):

    cacert = load_certificate(FILETYPE_PEM, root_cert_pem)
    secert = load_certificate(FILETYPE_PEM, server_cert_pem)
    cadesc = cacert.get_subject()
    sedesc = secert.get_subject()
    def multiple_ca(ctx):
        ctx.add_client_ca(cacert)
        ctx.add_client_ca(secert)
        return [cadesc, sedesc]
    self._check_client_ca_list(multiple_ca)
