Skip Menu |
 

From: ghudson@mit.edu
Subject: git commit

Use getentropy() when available

When available, use getentropy() in preference to SYS_getrandom or
/dev/urandom. This binding is present in glibc 2.25 and the BSDs.

https://github.com/krb5/krb5/commit/ead2a8b253c7db8d17a0765044947c5fbd564bc4
Author: Greg Hudson <ghudson@mit.edu>
Commit: ead2a8b253c7db8d17a0765044947c5fbd564bc4
Branch: master
src/configure.ac | 2 +-
src/lib/crypto/krb/prng.c | 26 ++++++++++++++++++++++----
2 files changed, 23 insertions(+), 5 deletions(-)
Subject: git commit
From: ghudson@mit.edu

Check for sys/random.h

The function getentropy() is supported on newer versions of MacOS X,
but requires the include file sys/random.h. Check for that and include
it where getentropy() is used.

https://github.com/krb5/krb5/commit/b43f4229758ff8e78897e03c386025cf4de3a200
Author: Ken Hornstein <kenh@cmf.nrl.navy.mil>
Committer: Greg Hudson <ghudson@mit.edu>
Commit: b43f4229758ff8e78897e03c386025cf4de3a200
Branch: master
src/configure.ac | 2 +-
src/lib/crypto/krb/prng.c | 3 +++
2 files changed, 4 insertions(+), 1 deletion(-)