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

version» Context lines:

pike.git/lib/modules/SSL.pmod/Connection.pike:337:    "Unknown additional data in packet.\n"));    return 0;    }       // This array is in the reverse order of the certs array.    array(Standards.X509.TBSCertificate) decoded =    verify_certificate_chain(certs);    if( !decoded )    {    send_packet(alert(ALERT_fatal, ALERT_bad_certificate, -  "Bad server certificate chain.\n")); +  "Bad certificate chain %O.\n"));    return 0;    }    if( !sizeof(certs) )    return 1;       // This data isn't actually used internally.    session->peer_certificate_chain = certs;       session->peer_public_key = decoded[-1]->public_key->pkc;   #if constant(Crypto.ECC.Curve)