summaryrefslogtreecommitdiff
path: root/lib/examples
diff options
context:
space:
mode:
authorLinus Nordberg <linus@nordberg.se>2013-12-18 20:37:44 +0100
committerLinus Nordberg <linus@nordberg.se>2013-12-20 19:00:12 +0100
commit11570f6201548b957b70e8b93e954538f01d09c7 (patch)
treec2ee2c80df6862842292f11878ab184b3464b9d4 /lib/examples
parentda72e14ca91c1bdbee8bec0fcdd28054517cd200 (diff)
Improve initialisation of OpenSSL PRNG.
Basic idea taken from Tor.
Diffstat (limited to 'lib/examples')
-rw-r--r--lib/examples/client-blocking.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/examples/client-blocking.c b/lib/examples/client-blocking.c
index cce00bf..a50ee8a 100644
--- a/lib/examples/client-blocking.c
+++ b/lib/examples/client-blocking.c
@@ -26,8 +26,7 @@ blocking_client (const char *config_fn, const char *configuration,
r = rs_context_create (&h);
if (r)
{
- assert(r == RSE_NOMEM);
- assert (!"out of RAM -- unable to create libradsec context");
+ assert (!"unable to create libradsec context");
}
#if !defined (USE_CONFIG_FILE)