]> granicus.if.org Git - ejabberd/commitdiff
Explicitely start crypto module
authorMickael Remond <mremond@process-one.net>
Mon, 6 Apr 2015 11:46:09 +0000 (13:46 +0200)
committerMickael Remond <mremond@process-one.net>
Mon, 6 Apr 2015 11:46:09 +0000 (13:46 +0200)
Without explicit start, it causes issue when embedding ejabberd into other apps.

src/ejabberd_app.erl

index cd217ddde688238056f16288dc7cc4459ff4bca3..2af78d1cd7492e63d4e4dc464b6d43d813ddf5ea 100644 (file)
@@ -240,6 +240,7 @@ set_loglevel_from_config() ->
 
 start_apps() ->
     ejabberd:start_app(sasl),
+    ejabberd:start_app(crypto),
     ejabberd:start_app(ssl),
     ejabberd:start_app(p1_yaml),
     ejabberd:start_app(p1_tls),