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

version» Context lines:

pike.git/lib/modules/SSL.pmod/Connection.pike:99:   {    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])    { -  sign_algs->add_int(hash, 1); -  sign_algs->add_int(sign, 1); +  sign_algs->add_int(hash|sign, 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")));   }