Branch: Tag:


2014-06-16 17:45:55 by Henrik Grubbström (Grubba) <>


Adds a flag indicating that the storage held by objects of the class
should be cleared prior to being freed. This is mainly to avoid having
secrets around longer than necessary.

FIXME: Consider adding a corresponding flag for objects to mark eg
some bignums for clearing.

566:    * module. */   #define PROGRAM_LIVE_OBJ 0x2000    + /* Clear the object storage on destruct. */ + #define PROGRAM_CLEAR_STORAGE 0x4000 +    /* Using define instead of enum allows for ifdefs - Hubbe */   #define PROG_EVENT_INIT 0   #define PROG_EVENT_EXIT 1