Merge "Remove superfluous OpenSSL include paths."
This commit is contained in:
commit
2697029971
4 changed files with 6 additions and 4 deletions
|
@ -22,7 +22,6 @@ common_src_files := \
|
|||
common_c_includes := \
|
||||
system/extras/ext4_utils \
|
||||
system/extras/f2fs_utils \
|
||||
external/openssl/include \
|
||||
external/scrypt/lib/crypto \
|
||||
frameworks/native/include \
|
||||
system/security/keystore \
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -27,7 +27,6 @@
|
|||
*/
|
||||
|
||||
#include <cutils/properties.h>
|
||||
#include <openssl/sha.h>
|
||||
|
||||
/* The current cryptfs version */
|
||||
#define CURRENT_MAJOR_VERSION 1
|
||||
|
@ -84,6 +83,10 @@
|
|||
/* __le32 and __le16 defined in system/extras/ext4_utils/ext4_utils.h */
|
||||
#define __le8 unsigned char
|
||||
|
||||
#if !defined(SHA256_DIGEST_LENGTH)
|
||||
#define SHA256_DIGEST_LENGTH 32
|
||||
#endif
|
||||
|
||||
struct crypt_mnt_ftr {
|
||||
__le32 magic; /* See above */
|
||||
__le16 major_version;
|
||||
|
|
|
@ -5,8 +5,7 @@ include $(CLEAR_VARS)
|
|||
LOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/Android.mk
|
||||
|
||||
LOCAL_C_INCLUDES := \
|
||||
system/core/fs_mgr/include \
|
||||
external/openssl/include \
|
||||
system/core/fs_mgr/include
|
||||
|
||||
LOCAL_SHARED_LIBRARIES := \
|
||||
liblog \
|
||||
|
|
Loading…
Reference in a new issue