I commited a few changes:
All changes have passed all the tests that I have. Local testing with
curl/pem/selfserv, and inhouse PEM regression tests.
If you want to give this more testing or review, I'll appreciate it.
- address some cleanup requests from rrelyea
- parts of the cleanup and comments are taken from emaldona's patches
- #if 0 some unused code (will remove later)
- actually use the loop variable i in pem_Initialize
- allocator consistency
- simplify/cleanup PUT_OBJECT/put_object code (fixes an incorrect
allocation is based on number of items, not bytes)
- fix a crash with plog in debug mode
- in CreateObject with CKO_PRIVATE_KEY, don't reset
the nickname back to filename contents, seems wrong