[pkg-otr-team] [irssi-plugin-otr] 01/01: Imported Debian patch 3.2.0-2

Holger Levsen holger at moszumanska.debian.org
Mon Mar 3 21:55:11 UTC 2014


This is an automated email from the git hooks/post-receive script.

holger pushed a commit to annotated tag debian/3.2.0-2
in repository irssi-plugin-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-otr/packages/irssi-plugin-otr.git



More information about the Pkg-otr-team mailing list