On July 23, 2004 07:33 pm, Jorge Arellano Cid wrote:
On Fri, Jul 23, 2004 at 01:10:42PM -0400, Garrett Kajmowicz wrote:
[...] I would also like your opinion on how to "clean up" the function save_certificate_home() It has three exit points, and dropping it to fewer would be somewhat of a challenge to do cleanly.
Done.
I also added some comments, and put the snprintf's in one line.
BTW, why 01777 instead of 01700?
The flags setting are automatically bitwize-anded with the umask. My thinking at the time was that it would be better to have the user settings determine how the certificates would be saved. And since the only thing that certificate access might give people is an extremely small list of sites the user had been to, I didn't deem it a security risk. If you prefer I change it, I will do so.... - Garrett Kajmowicz