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

version» Context lines:

pike.git/lib/modules/Standards.pmod/X509.pmod:847:    not_after = validity[1]->get_posix();    })    return NULL("init: Failed to decode not_after. %O\n%s\n",    validity[1], describe_backtrace(err));       // FIXME: Verify this more strictly.    if (a[4]->type_name != "SEQUENCE")    return NULL("init: Illegal subject ASN.1. %O\n", a[4]);    subject = a[4];    -  public_key = make_verifier(a[5]); -  -  if (!public_key) +  Verifier key = make_verifier(a[5]); +  if (!key)    return NULL("init: Failed to decode public key. %O\n", a[5]); -  +  public_key = key;       int i = 6;       if (version >= 2)    {    if ((i < sizeof(a)) && !a[i]->constructed &&    (a[i]->get_combined_tag() == make_combined_tag(2, 1)))    {    if (a[i]->raw) {    (issuer_id = IssuerId())->decode_primitive(a[i]->raw);