diff --git a/tests/Android.mk b/tests/Android.mk index 8f2cda7..49da010 100644 --- a/tests/Android.mk +++ b/tests/Android.mk @@ -18,6 +18,7 @@ LOCAL_SRC_FILES := \ LOCAL_MODULE := vold_tests LOCAL_MODULE_TAGS := eng tests +LOCAL_CFLAGS := -Wall -Werror include $(BUILD_NATIVE_TEST) include $(CLEAR_VARS) @@ -41,4 +42,5 @@ LOCAL_SRC_FILES := CryptfsScryptHidlizationEquivalence_test.cpp LOCAL_MODULE := vold_cryptfs_scrypt_hidlization_equivalence_test LOCAL_MODULE_TAGS := eng tests +LOCAL_CFLAGS := -Wall -Werror include $(BUILD_NATIVE_TEST) diff --git a/tests/CryptfsScryptHidlizationEquivalence_test.cpp b/tests/CryptfsScryptHidlizationEquivalence_test.cpp index 91ddb2b..3a6c029 100644 --- a/tests/CryptfsScryptHidlizationEquivalence_test.cpp +++ b/tests/CryptfsScryptHidlizationEquivalence_test.cpp @@ -369,6 +369,7 @@ static int keymaster_check_compatibility_new() return keymaster_compatibility_cryptfs_scrypt(); } +#if 0 /* Create a new keymaster key and store it in this footer */ static int keymaster_create_key_new(struct crypt_mnt_ftr *ftr) { @@ -390,6 +391,7 @@ static int keymaster_create_key_new(struct crypt_mnt_ftr *ftr) } return 0; } +#endif /* This signs the given object using the keymaster key. */ static int keymaster_sign_object_new(struct crypt_mnt_ftr *ftr,