summaryrefslogtreecommitdiffstats
path: root/crypto/Kconfig
diff options
context:
space:
mode:
authorAhmad Fatoum <a.fatoum@pengutronix.de>2022-08-08 08:20:09 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2022-08-09 06:40:35 +0200
commit80a36f60534d30b3252c3e613070ff1071e7f9a9 (patch)
tree371f69b9a57dfbd441458bc0df471f58543e9889 /crypto/Kconfig
parentb5a386522d9cc72be551706b7ff9d84f87b15f7b (diff)
downloadbarebox-80a36f60534d30b3252c3e613070ff1071e7f9a9.tar.gz
barebox-80a36f60534d30b3252c3e613070ff1071e7f9a9.tar.xz
common: machine_id: guard against digest algo being unavailable
All callsites of digest_alloc(_by_algo) check for NULL pointer before proceeding except for machine_id_set_globalvar(). Fix this to fail more gracefully instead of the crash I ran into. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Link: https://lore.barebox.org/20220808062010.390394-2-a.fatoum@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'crypto/Kconfig')
0 files changed, 0 insertions, 0 deletions