aboutsummaryrefslogtreecommitdiff
path: root/python/python-axolotl-curve25519/patches/2bd1f5556fed92afb4efc2a95846a1c0f8332baf.patch
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2017-02-13 22:09:42 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-02-18 07:54:05 +0700
commitf96f9a9a8e9a09d225f064a623cc25b78f2d16ee (patch)
treef74218b2a9baf6b79f895118b43ab833ab36432e /python/python-axolotl-curve25519/patches/2bd1f5556fed92afb4efc2a95846a1c0f8332baf.patch
parentb0fe1b7c7678277e0c45e0fcf58243cdcf8a98af (diff)
python/python-axolotl-curve25519: Updated for version 0.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python/python-axolotl-curve25519/patches/2bd1f5556fed92afb4efc2a95846a1c0f8332baf.patch')
-rw-r--r--python/python-axolotl-curve25519/patches/2bd1f5556fed92afb4efc2a95846a1c0f8332baf.patch43
1 files changed, 43 insertions, 0 deletions
diff --git a/python/python-axolotl-curve25519/patches/2bd1f5556fed92afb4efc2a95846a1c0f8332baf.patch b/python/python-axolotl-curve25519/patches/2bd1f5556fed92afb4efc2a95846a1c0f8332baf.patch
new file mode 100644
index 0000000000..1e0af50bac
--- /dev/null
+++ b/python/python-axolotl-curve25519/patches/2bd1f5556fed92afb4efc2a95846a1c0f8332baf.patch
@@ -0,0 +1,43 @@
+From 2bd1f5556fed92afb4efc2a95846a1c0f8332baf Mon Sep 17 00:00:00 2001
+From: Josue Ortega <josueortega@debian.org.gt>
+Date: Sun, 15 Feb 2015 15:28:36 -0600
+Subject: [PATCH] Fixed prototype definition
+
+---
+ curve/ed25519/additions/zeroize.c | 4 ++--
+ curve/ed25519/additions/zeroize.h | 2 +-
+ 2 files changed, 3 insertions(+), 3 deletions(-)
+
+diff --git a/curve/ed25519/additions/zeroize.c b/curve/ed25519/additions/zeroize.c
+index 37c1f70..be4a8e3 100644
+--- a/curve/ed25519/additions/zeroize.c
++++ b/curve/ed25519/additions/zeroize.c
+@@ -3,14 +3,14 @@
+ void zeroize(unsigned char* b, size_t len)
+ {
+ size_t count = 0;
+- unsigned long retval = 0;
++ //unsigned long retval = 0;
+ volatile unsigned char *p = b;
+
+ for (count = 0; count < len; count++)
+ p[count] = 0;
+ }
+
+-void zeroize_stack()
++void zeroize_stack(void)
+ {
+ unsigned char m[ZEROIZE_STACK_SIZE];
+ zeroize(m, sizeof m);
+diff --git a/curve/ed25519/additions/zeroize.h b/curve/ed25519/additions/zeroize.h
+index 80fcffb..7949924 100644
+--- a/curve/ed25519/additions/zeroize.h
++++ b/curve/ed25519/additions/zeroize.h
+@@ -7,6 +7,6 @@
+
+ void zeroize(unsigned char* b, size_t len);
+
+-void zeroize_stack();
++void zeroize_stack(void);
+
+ #endif