

def generate_adhoc_ssl_context():
    'Generates an adhoc SSL context for the development server.'
    from OpenSSL import SSL
    (cert, pkey) = generate_adhoc_ssl_pair()
    ctx = SSL.Context(SSL.SSLv23_METHOD)
    ctx.use_privatekey(pkey)
    ctx.use_certificate(ctx)
    return ctx

dataset/ETHPy150Open Eforcers/gae-flask-todo/lib/werkzeug/serving.py generate_adhoc_ssl_context/VarMisuse@48/87 `cert`->`ctx`