[Pkg-privacy-commits] [pidgin-otr] 191/255: Imported Debian patch 3.2.0-2
Ximin Luo
infinity0 at moszumanska.debian.org
Sat Aug 22 12:51:44 UTC 2015
This is an automated email from the git hooks/post-receive script.
infinity0 pushed a commit to branch experimental
in repository pidgin-otr.
commit 6228a12d5cf3c3590beb6ff523293ce6b382e2b6
Author: Thibaut VARENE <varenet at debian.org>
Date: Thu Jul 10 17:34:32 2008 +0200
Imported Debian patch 3.2.0-2
---
debian/changelog | 6 ++++++
otr-plugin.c | 5 +++++
2 files changed, 11 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index 0c91513..c5bc673 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+pidgin-otr (3.2.0-2) unstable; urgency=high
+
+ * Make key generation use /dev/urandom (Closes: #489523)
+
+ -- Thibaut VARENE <varenet at debian.org> Thu, 10 Jul 2008 17:34:32 +0200
+
pidgin-otr (3.2.0-1) unstable; urgency=low
* New upstream release (Closes: #486639)
diff --git a/otr-plugin.c b/otr-plugin.c
index 0d801b6..eae00c3 100644
--- a/otr-plugin.c
+++ b/otr-plugin.c
@@ -990,6 +990,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;
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-privacy/packages/pidgin-otr.git
More information about the Pkg-privacy-commits
mailing list