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

version» Context lines:

pike.git/lib/modules/Standards.pmod/X509.pmod:1782:    // if we're the root of the chain and we've verified, this is    // the authority.    if(idx == 0)    m->authority = tbs->issuer;       if(idx == sizeof(chain_cert)-1) m->cn = tbs->subject;    break;    }    }    if (!verified) +  {    ERROR(CERT_BAD_SIGNATURE); -  +  return m;    } -  +  }    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)) {