Commit cb7519ba authored by cypherpunk's avatar cypherpunk
Browse files

	* otr-plugin.c: Use /dev/urandom to generate keys instead of
	/dev/random.  [Really: on non-Win32, call
	gcry_control(GCRYCTL_ENABLE_QUICK_RANDOM, 0); before OTRL_INIT;.]
parent 83a033be
2008-07-10
* otr-plugin.c: Use /dev/urandom to generate keys instead of
/dev/random. [Really: on non-Win32, call
gcry_control(GCRYCTL_ENABLE_QUICK_RANDOM, 0); before OTRL_INIT;.]
2008-07-07
* gtk-conv.c: Don't delete the OTR menus if a non-foreground
......
......@@ -973,6 +973,11 @@ __init_plugin(PurplePlugin *plugin)
otrg_dialog_set_ui_ops(otrg_gtk_dialog_get_ui_ops());
#endif
#ifndef WIN32
/* Make key generation use /dev/urandom instead of /dev/random */
gcry_control(GCRYCTL_ENABLE_QUICK_RANDOM, 0);
#endif
/* Initialize the OTR library */
OTRL_INIT;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment