diff options
author | Adam Langley <agl@google.com> | 2015-01-22 16:45:28 -0800 |
---|---|---|
committer | Adam Langley <agl@google.com> | 2015-01-22 16:45:28 -0800 |
commit | 41405bb3e5cdde0782bfcf7065b88ce1bb253c3c (patch) | |
tree | 631acc9c19237e8967145e8d560e5a5a23085533 /cryptfs.c | |
parent | f3b2637e0611ac7953c18ce39a47b7c408a70160 (diff) | |
download | android_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.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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> |