pike.git / lib / modules / SSL.pmod / https.pike

version» Context lines:

pike.git/lib/modules/SSL.pmod/https.pike:136:    {    exit(0, "Connection closed.\n");    }       protected void create(Stdio.File con)    {    SSL.Context ctx = MyContext();    // Make sure all cipher suites are available.    ctx->preferred_suites = ctx->get_suites(-1, 2);    werror("Starting\n"); -  ssl = SSL.sslfile(con, ctx, 1); +  ssl = SSL.sslfile(con, ctx); +  ssl->connect();    ssl->set_nonblocking(got_data, write_cb, con_closed);    }   }      string common_name;   void make_certificate(SSL.Context ctx, Crypto.Sign key, void|Crypto.Hash hash)   {    mapping attrs = ([    "organizationName" : "Test",    "commonName" : common_name,