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

version» Context lines:

pike.git/lib/modules/SSL.pmod/Connection.pike:571: Inside #if defined(SSL3_DEBUG)
   werror("SSL.Connection: Received warning alert %O\n",    ALERT_descriptions[description]);   #endif    return 0;   }      int handle_change_cipher(int c)   {    if (!expect_change_cipher || (c != 1))    { -  SSL3_DEBUG_MSG("SSL.Connection: handle_change_cipher: Unexcepted message!"); +     send_packet(alert(ALERT_fatal, ALERT_unexpected_message,    "Unexpected change cipher!\n"));    return -1;    }    else    {    current_read_state = pending_read_state;    expect_change_cipher = 0;    return 0;    }