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

version» Context lines:

pike.git/lib/modules/Standards.pmod/X509.pmod:161:    int(0..1) verify(Sequence algorithm, string(8bit) msg, string(8bit) signature)    {    DBG("Verify hash %O\n", algorithm[0]);    Crypto.Hash hash = algorithms[algorithm[0]];    if (!hash) return 0;    return pkc && pkc->pkcs_verify(msg, hash, signature);    }       protected int(0..1) `==(mixed o)    { -  return objectp(o) && o->pkc?->name && pkc->name()==o->pkc->name() && +  return objectp(o) && o->pkc->?name && pkc->name()==o->pkc->name() &&    pkc->public_key_equal(o->pkc);    }       protected string _sprintf(int t)    {    return t=='O' && sprintf("%O(%O)", this_program, pkc);    }   }      protected class RSAVerifier