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

version» Context lines:

pike.git/lib/modules/Standards.pmod/X509.pmod:807:    || (a[0][0]->type_name != "INTEGER"))    return 0;       version = (int) a[0][0]->value + 1;    if ( (version < 2) || (version > 3))    return 0;    a = a[1..];    }    DBG("TBSCertificate: version = %d\n", version);    -  this_program::version = version; +  this::version = version;       if (a[0]->type_name != "INTEGER")    return 0;    serial = a[0]->value;    DBG("TBSCertificate: serial = %s\n", (string) serial);       if ((a[1]->type_name != "SEQUENCE")    || !sizeof(a[1])    || (a[1][0]->type_name != "OBJECT IDENTIFIER"))    return 0;