summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Burgess IV <gbiv@google.com>2018-04-03 15:33:13 -0700
committerGeorge Burgess IV <gbiv@google.com>2018-04-03 22:37:38 +0000
commit6720fe35f86b69713c92e1839bc89203f5236c4c (patch)
treeec8f607b9f2d1512aa99796cf5954e5ddb2d2f24
parent652cdbe912e95fa390ea8b158f2de17d80798ccf (diff)
downloadscrypt-6720fe35f86b69713c92e1839bc89203f5236c4c.tar.gz
Update the SDK version of Scrypt
It's relying on posix_memalign, which is only available as of SDK version 17 (the ndk headers say 16, but I'm told that's a bug that'll be fixed soon). Originally complained about by the static analyzer (and, presumably, clang): external/scrypt/lib/crypto/crypto_scrypt-neon.c:228:15: warning: implicit declaration of function 'posix_memalign' is invalid in C99 [-Wimplicit-function-declaration] Bug: None Test: Builds on internal master without complaining about posix_memalign being implicitly declared. Change-Id: I5d9ecd79e0fb2372c92076bbf86e334132fb088f
-rw-r--r--Android.bp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Android.bp b/Android.bp
index 34c0718..b396340 100644
--- a/Android.bp
+++ b/Android.bp
@@ -20,7 +20,7 @@ cc_library_static {
name: "libscrypt_static",
defaults: ["libscrypt_sources"],
shared_libs: ["libcrypto"],
- sdk_version: "9",
+ sdk_version: "17",
host_supported: true,
vendor_available: true,
}