This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN)".
The branch, master has been updated
via 9f95ae888589dfddfe1fd325d0fb2f8361f03fab (commit)
from 8ee53ed9ec5e5f045778ab8b30f10cb86ec55c4a (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://cgit.osmocom.org/openbsc/commit/?id=9f95ae888589dfddfe1fd325d0fb2f83…
commit 9f95ae888589dfddfe1fd325d0fb2f8361f03fab
Author: Holger Hans Peter Freyther <holger(a)moiji-mobile.com>
Date: Wed Jul 1 08:34:16 2015 +0200
nat: Use RAND_bytes instead of /dev/urandom
We don't need to consume all the entropy of the kernel but can
use libcrypto (OpenSSL) to generate random data. It is not clear
if we need to call RAND_load_file but I think we can assume that
our Unices have a /dev/urandom.
This takes less CPU time, provides good enough entropy (in theory)
and leaves some in the kernel entropy pool.
-----------------------------------------------------------------------
Summary of changes:
openbsc/configure.ac | 1 +
openbsc/include/openbsc/bsc_nat.h | 3 ---
openbsc/src/osmo-bsc_nat/Makefile.am | 4 ++--
openbsc/src/osmo-bsc_nat/bsc_nat.c | 24 +++++-------------------
4 files changed, 8 insertions(+), 24 deletions(-)
hooks/post-receive
--
The OpenBSC GSM Base Station Controller (+MSC/HLR/SGSN)