def make_ssl_socket_factory(ca_certs, validate=True):

    def ssl_socket_factory(host, port):
        """
        Returns a :class:`TSSLSocket` instance.
        """
        return TSSLSocket.TSSLSocket(host, port, ca_certs=ca_certs, validate=validate)

    return ssl_socket_factory
Set registers.
dataset/ETHPy150Open pycassa/pycassa/pycassa/connection.py/make_ssl_socket_factory--crossover with--dataset/ETHPy150Open programa-stic/barf-project/barf/barf/core/smt/smttranslator.py/SmtTranslator.set_arch_registers_size