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

version» Context lines:

pike.git/lib/modules/SSL.pmod/Connection.pike:97:   Alert alert(int(1..2) level, int(8bit) description,    string|void message)   {    return context->alert_factory(this, level, description, version,    message);   }      Buffer get_signature_algorithms()   {    Buffer sign_algs = Buffer(); -  foreach(context->get_signature_algorithms(), [int hash, int sign]) +  foreach(context->get_signature_algorithms(), int signature_scheme)    { -  sign_algs->add_int(hash|sign, 2); +  sign_algs->add_int(signature_scheme, 2);    }    return sign_algs;   }      #ifdef SSL3_PROFILING   System.Timer timer = System.Timer();   float last_time = 0.0;   void addRecord(int t,int s) {    addRecord(sprintf("sender: %d type: %s", s, fmt_constant(t, "HANDSHAKE")));   }