def main():
    if len(argv) < 2:
        print 'Usage: %s <hostname>' % (argv[0],)
        return 1

    client = socket()

    print 'Connecting...',
    stdout.flush()
    client.connect(('127.0.0.1', 8443))
    print 'connected', client.getpeername()

    client_ssl = Connection(Context(TLSv1_METHOD), client)
    client_ssl.set_connect_state()
    client_ssl.set_tlsext_host_name(argv[1])
    client_ssl.do_handshake()
    print 'Server subject is', client_ssl.get_peer_certificate().get_subject()
    client_ssl.close()
Ensure that the SQL passes the blacklist and executes. Execution check is skipped if params are present.
dataset/ETHPy150Open pyca/pyopenssl/examples/sni/client.py/main--crossover with--dataset/ETHPy150Open groveco/django-sql-explorer/explorer/forms.py/SqlField.validate