aboutsummaryrefslogtreecommitdiff
path: root/common/image-cipher.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/image-cipher.c')
-rw-r--r--common/image-cipher.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/image-cipher.c b/common/image-cipher.c
index cee3b03..f50c3d3 100644
--- a/common/image-cipher.c
+++ b/common/image-cipher.c
@@ -88,7 +88,7 @@ static int fit_image_setup_decrypt(struct image_cipher_info *info,
return -1;
}
- info->keyname = fdt_getprop(fit, cipher_noffset, "key-name-hint", NULL);
+ info->keyname = fdt_getprop(fit, cipher_noffset, FIT_KEY_HINT, NULL);
if (!info->keyname) {
printf("Can't get key name\n");
return -1;