Fix clipping of returned data size in secure_storage_provider

The secure_storage_provider logic in the get_handler was incorrect and
could result in the return data being incorrectly clipped in
length because of the use of an uninitialized variable. This commit
fixes the logic.

Signed-off-by: Julian Hall <julian.hall@arm.com>
Change-Id: Id7ab5596015c918311ba42064092f2369fa31cb2
1 file changed