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

version» Context lines:

pike.git/lib/modules/Standards.pmod/X509.pmod:460:    return 0;    serial = a[0]->value;    DBG("TBSCertificate: serial = %s\n", (string) serial);       if ((a[1]->type_name != "SEQUENCE")    || !sizeof(a[1]->elements )    || (a[1]->elements[0]->type_name != "OBJECT IDENTIFIER"))    return 0;       algorithm = a[1]; -  DBG("TBSCertificate: algorithm = %s\n", algorithm->debug_string()); +  DBG("TBSCertificate: algorithm = %O\n", algorithm);       if (a[2]->type_name != "SEQUENCE")    return 0;    issuer = a[2]; -  DBG("TBSCertificate: issuer = %s\n", issuer->debug_string()); +  DBG("TBSCertificate: issuer = %O\n", issuer);       if ((a[3]->type_name != "SEQUENCE")    || (sizeof(a[3]->elements) != 2))    return 0;    array validity = a[3]->elements;       not_before = parse_time(validity[0]);    if (!not_before)    return 0;    DBG("TBSCertificate: not_before = %O\n", not_before);       not_after = parse_time(validity[1]);    if (!not_after)    return 0;    DBG("TBSCertificate: not_after = %O\n", not_after);       if (a[4]->type_name != "SEQUENCE")    return 0;    subject = a[4];    -  DBG("TBSCertificate: keyinfo = %s\n", a[5]->debug_string()); +  DBG("TBSCertificate: keyinfo = %O\n", a[5]);    public_key = make_verifier(a[5]);       if (!public_key)    return 0;       DBG("TBSCertificate: parsed public key. type = %s\n",    public_key->type);       int i = 6;    if (i == sizeof(a))