]> Git Repo - J-u-boot.git/blobdiff - boot/image-fit.c
Merge branch 'next' of https://source.denx.de/u-boot/custodians/u-boot-net into next
[J-u-boot.git] / boot / image-fit.c
index 33b4a46028b2b3da3f907d9f2c46ae71871bba00..b629339f4e0ad46c5ce76848553b0c6d3da4ee35 100644 (file)
@@ -1202,7 +1202,7 @@ int fit_set_timestamp(void *fit, int noffset, time_t timestamp)
  * calculate_hash - calculate and return hash for provided input data
  * @data: pointer to the input data
  * @data_len: data length
- * @algo: requested hash algorithm
+ * @name: requested hash algorithm name
  * @value: pointer to the char, will hold hash value data (caller must
  * allocate enough free space)
  * value_len: length of the calculated hash
@@ -1230,7 +1230,7 @@ int calculate_hash(const void *data, int data_len, const char *name,
                return -1;
        }
 
-       hash_algo = hash_algo_lookup_by_name(algo);
+       hash_algo = hash_algo_lookup_by_name(name);
        if (hash_algo == HASH_ALGO_INVALID) {
                debug("Unsupported hash algorithm\n");
                return -1;
This page took 0.02642 seconds and 4 git commands to generate.