summaryrefslogtreecommitdiffstats
path: root/irc/psybnc/files/patch-src_p__idea.c
diff options
context:
space:
mode:
Diffstat (limited to 'irc/psybnc/files/patch-src_p__idea.c')
-rw-r--r--irc/psybnc/files/patch-src_p__idea.c21
1 files changed, 21 insertions, 0 deletions
diff --git a/irc/psybnc/files/patch-src_p__idea.c b/irc/psybnc/files/patch-src_p__idea.c
new file mode 100644
index 0000000..4191c9a
--- /dev/null
+++ b/irc/psybnc/files/patch-src_p__idea.c
@@ -0,0 +1,21 @@
+--- src/p_idea.c.orig 2016-06-20 14:41:27 UTC
++++ src/p_idea.c
+@@ -50,6 +50,9 @@ static char rcsid[] = "@(#)$Id: p_idea.c
+ * string encryption by psychoid
+ */
+
++
++#include <p_global.h>
++/*
+ #include <time.h>
+ #include <string.h>
+ #include <stdlib.h>
+@@ -62,7 +65,7 @@ extern int cline;
+
+ #define pcontext { strmncpy(ctxt,__FILE__,sizeof(ctxt));strmncpy(cfunc,__FUNCTION__,sizeof(cfunc)); cline=__LINE__; }
+ #define pmalloc(n) __pmalloc((n),__FILE__,__FUNCTION__,__LINE__)
+-
++*/
+ #ifdef CRYPT
+
+ #define IDEAROUNDS 8
OpenPOWER on IntegriCloud