diff options
author | Benny Baumann <BenBE@geshi.org> | 2023-12-11 13:43:30 +0100 |
---|---|---|
committer | Dmitry V. Levin <ldv@strace.io> | 2023-12-19 12:22:59 +0000 |
commit | ebc35c605beca9020bb743134575fdc558dfdaf5 (patch) | |
tree | bd4f1a518cd1dbd449d43bfa4dcabb6d91c63556 /modules/pam_unix/support.c | |
parent | 0a9912e5f7810dffeecad0131b1f0c038457bfe5 (diff) | |
download | pam-ebc35c605beca9020bb743134575fdc558dfdaf5.tar.gz pam-ebc35c605beca9020bb743134575fdc558dfdaf5.tar.bz2 pam-ebc35c605beca9020bb743134575fdc558dfdaf5.zip |
pam_timestamp: allocate memory before opening /dev/urandom
It's handy to have the memory allocated before trying several methods
of obtaining randomness that are going to be introduced by subsequent
commits.
* modules/pam_timestamp/hmac_openssl_wrapper.c (generate_key):
Allocate memory before trying to open /dev/urandom.
Diffstat (limited to 'modules/pam_unix/support.c')
0 files changed, 0 insertions, 0 deletions