[pubcookie-dev] Re: time_t size problem
Allan E. Johannesen
aej at WPI.EDU
Tue Oct 11 11:03:32 PDT 2005
>>>>> "miner" == Jon Miner <miner at doit.wisc.edu> writes:
miner> So, what's the solution, you ask? I don't know.
If I recall, the structure had a bunch of fixed-size things. The only
troublesome item now is the date. Also, I think it was just for making
the lump to encrypt, rather than use as a struct.
Could it be considered to make the all items null terminated ascii? e.g. a
date of decimal digits, not any kind of binary. Maybe the strings could have
maximum limits, but the next one would start after the preceding null.
Some /etc/passwd.db setups I've seen are like this, admittedly with the
exception that UID and GID were oddball 16bit ints mixed with the ascii.
More information about the pubcookie-dev
mailing list