summaryrefslogtreecommitdiff
path: root/lib/rsa/rsa-verify.c
diff options
context:
space:
mode:
authorHeiko Stuebner <heiko.stuebner@theobroma-systems.com>2020-06-18 17:23:25 +0300
committerTom Rini <trini@konsulko.com>2020-07-09 00:21:46 +0300
commiteda753be8a33d9cadf2c41ea614069a31e314ba3 (patch)
tree76ef58531014b3aa70cfb79ed5551b8355afee80 /lib/rsa/rsa-verify.c
parent49d0ea3746cae267b4f3c60c0e2e73dcac3d3213 (diff)
downloadu-boot-eda753be8a33d9cadf2c41ea614069a31e314ba3.tar.xz
lib: rsa: free local arrays after use in rsa_gen_key_prop()
n, rr and rrtmp are used for internal calculations, but in the end the results are copied into separately allocated elements of the actual key_prop, so the n, rr and rrtmp elements are not used anymore when returning from the function and should of course be freed. Signed-off-by: Heiko Stuebner <heiko.stuebner@theobroma-systems.com> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'lib/rsa/rsa-verify.c')
0 files changed, 0 insertions, 0 deletions