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

version» Context lines:

pike.git/lib/modules/SSL.pmod/Connection.pike:102:   }      #ifdef SSL3_PROFILING   System.Timer timer = System.Timer();   void addRecord(int t,int s) {    Stdio.stdout.write("time: %.6f sender: %d type: %s\n", timer->get(), s,    fmt_constant(t, "HANDSHAKE"));   }   #endif    - string(8bit) handshake_messages; + string(8bit) handshake_messages = "";      Packet handshake_packet(int(8bit) type,    string(8bit)|Buffer|object(Stdio.Buffer) data)   {   #ifdef SSL3_PROFILING    addRecord(type,1);   #endif    string(8bit) str;    if(stringp(data))    str = [string(8bit)]data;