Add check for OpenSSL entropy status
authorMichael Hanselmann <hansmi@google.com>
Tue, 24 Nov 2009 14:55:03 +0000 (15:55 +0100)
committerMichael Hanselmann <hansmi@google.com>
Wed, 25 Nov 2009 11:08:42 +0000 (12:08 +0100)
commit8d0a4f99e154c3cbee914f66a7a2ef20ebc837f5
tree73e11458e6d1e275801e5bb103f9c9b338ed5f6c
parent20b1bd8075cbee5a3b84714f1ac91966d8b3b524
Add check for OpenSSL entropy status

By checking for this explicitly, the errors (SSLEAY_RAND_BYTES, “PRNG
not seeded”) will happen in the start-up phase of the daemon and not
only when executing remote procedure calls.

Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
lib/http/__init__.py
lib/rpc.py