From 11570f6201548b957b70e8b93e954538f01d09c7 Mon Sep 17 00:00:00 2001 From: Linus Nordberg Date: Wed, 18 Dec 2013 20:37:44 +0100 Subject: Improve initialisation of OpenSSL PRNG. Basic idea taken from Tor. --- lib/event.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/event.c') diff --git a/lib/event.c b/lib/event.c index b572184..a532da9 100644 --- a/lib/event.c +++ b/lib/event.c @@ -158,7 +158,7 @@ event_init_bufferevent (struct rs_connection *conn, struct rs_peer *peer) #if defined (RS_ENABLE_TLS) else if (conn->realm->type == RS_CONN_TYPE_TLS) { - if (rs_tls_init (conn)) + if (tls_init_conn (conn)) return -1; /* Would be convenient to pass BEV_OPT_CLOSE_ON_FREE but things seem to break when be_openssl_ctrl() (in libevent) calls -- cgit v1.1