pike.git / lib / modules / Standards.pmod / X509.pmod

version» Context lines:

pike.git/lib/modules/Standards.pmod/X509.pmod:1836:       if(idx == sizeof(chain_cert)-1) m->cn = tbs->subject;    break;    }    }    if (!verified)    {    ERROR(CERT_BAD_SIGNATURE);    return m;    } -  else if (zero_type(m->error_code)) // only if no error occured... -  m->verified = verified; +     } -  +  if (zero_type(m->error_code)) // only if no error occured... +  m->verified = verified;    return m;      #undef ERROR   #undef FATAL   }      //! DWIM-parse the ASN.1-sequence for a private key.   Crypto.Sign.State parse_private_key(Sequence seq)   {    switch(sizeof(seq)) {