summaryrefslogtreecommitdiffstats
path: root/cryptfs.c
diff options
context:
space:
mode:
authorAdam Langley <agl@google.com>2015-01-22 16:45:28 -0800
committerAdam Langley <agl@google.com>2015-01-22 16:45:28 -0800
commit41405bb3e5cdde0782bfcf7065b88ce1bb253c3c (patch)
tree631acc9c19237e8967145e8d560e5a5a23085533 /cryptfs.c
parentf3b2637e0611ac7953c18ce39a47b7c408a70160 (diff)
downloadandroid_system_vold-41405bb3e5cdde0782bfcf7065b88ce1bb253c3c.tar.gz
android_system_vold-41405bb3e5cdde0782bfcf7065b88ce1bb253c3c.tar.bz2
android_system_vold-41405bb3e5cdde0782bfcf7065b88ce1bb253c3c.zip
Remove superfluous OpenSSL include paths.
The libcrypto and libssl modules (and their respective static and host versions) use LOCAL_EXPORT_C_INCLUDE_DIRS thus just including the module is sufficient. Additionally, cryptfs.h was including an OpenSSL header just to get the length of a SHA-256 hash. Rather than force all users of this header to also depend on libcrypto, it's easier just to define that value in the header file. Change-Id: I3e3e0db906a212e1093944b298e4a8ff2e2fb07d
Diffstat (limited to 'cryptfs.c')
-rw-r--r--cryptfs.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/cryptfs.c b/cryptfs.c
index aaa2b86..8747540 100644
--- a/cryptfs.c
+++ b/cryptfs.c
@@ -36,6 +36,7 @@
#include <string.h>
#include <sys/mount.h>
#include <openssl/evp.h>
+#include <openssl/sha.h>
#include <errno.h>
#include <ext4.h>
#include <linux/kdev_t.h>