Commit a2080f6506701d8d9ca5111d628607a6a8013f61

Daiki Ueno 2020-05-26T10:22:37

read-file: add RF_SENSITIVE flag * lib/read-file.h (RF_SENSITIVE): New define. * lib/read-file.c (fread_file, read_file): Take into account of RF_SENSITIVE flag. * modules/read-file (Depends-on): Add explicit_bzero. This adds an alternative behavior of those functions to explicitly clear the internal memory block when it becomes unused. This is useful for reading sensitive information from a file.