summaryrefslogtreecommitdiff
path: root/patches
diff options
context:
space:
mode:
authorKenny Root <kroot@google.com>2013-06-11 16:36:54 -0700
committerKenny Root <kroot@google.com>2013-06-12 11:44:41 -0700
commit5fd6d3161cc7407718c7e230f94db421543273b8 (patch)
tree8571d4956103987a70096c55d1bf785c9b69d738 /patches
parent6647e7567bfbcccf0952ff79da8b2ab809f2ed0e (diff)
downloadscrypt-5fd6d3161cc7407718c7e230f94db421543273b8.tar.gz
Import initial version of scrypt library
Change-Id: Idcc14fed4878763ad26855cd99c5e6093ab5b3dd
Diffstat (limited to 'patches')
-rw-r--r--patches/README3
-rw-r--r--patches/bionic.patch12
2 files changed, 15 insertions, 0 deletions
diff --git a/patches/README b/patches/README
new file mode 100644
index 0000000..79d0366
--- /dev/null
+++ b/patches/README
@@ -0,0 +1,3 @@
+bionic.patch:
+
+Allows scrypt to compile against bionic.
diff --git a/patches/bionic.patch b/patches/bionic.patch
new file mode 100644
index 0000000..4564ca0
--- /dev/null
+++ b/patches/bionic.patch
@@ -0,0 +1,12 @@
+diff --git a/lib/crypto/crypto_scrypt-ref.c b/lib/crypto/crypto_scrypt-ref.c
+index b47ca45..79a6f8f 100644
+--- a/lib/crypto/crypto_scrypt-ref.c
++++ b/lib/crypto/crypto_scrypt-ref.c
+@@ -30,6 +30,7 @@
+
+ #include <errno.h>
+ #include <stdint.h>
++#include <limits.h>
+ #include <stdlib.h>
+ #include <string.h>
+