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

version» Context lines:

pike.git/lib/modules/Tools.pmod/X509.pmod:463:       X509_WERR("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];    -  X509_WERR("TBSCertificate: algorithm = %s\n", algorithm->debug_string()); +  X509_WERR("TBSCertificate: algorithm = %O\n", algorithm);       if (a[2]->type_name != "SEQUENCE")    return 0;    issuer = a[2];    -  X509_WERR("TBSCertificate: issuer = %s\n", issuer->debug_string()); +  X509_WERR("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;
pike.git/lib/modules/Tools.pmod/X509.pmod:493:    not_after = parse_time(validity[1]);    if (!not_after)    return 0;       X509_WERR("TBSCertificate: not_after = %O\n", not_after);       if (a[4]->type_name != "SEQUENCE")    return 0;    subject = a[4];    -  X509_WERR("TBSCertificate: keyinfo = %s\n", a[5]->debug_string()); +  X509_WERR("TBSCertificate: keyinfo = %O\n", a[5]);       public_key = make_verifier(a[5]);       if (!public_key)    return 0;       X509_WERR("TBSCertificate: parsed public key. type = %s\n",    public_key->type);       int i = 6;