Simplify the logic for no_secure_memory.
* src/global.c (_gcry_vcontrol): Don't set NO_SECURE_MEMORY when FIPS mode is enabled. (get_no_secure_memory): Remove. Don't touch NO_SECURE_MEMORY, when examining the variable. (do_malloc, _gcry_is_secure): Just use NO_SECURE_MEMORY.
By ignoring GCRYCTL_DISABLE_SECMEM when FIPS, the code is now
straightforward.
- Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>