summaryrefslogtreecommitdiff
path: root/lib/crypto/mpi/mpi-sub-ui.c
diff options
context:
space:
mode:
authorDmitry Antipov <dmantipov@yandex.ru>2025-06-26 19:07:50 +0300
committerMikulas Patocka <mpatocka@redhat.com>2025-06-27 13:07:17 +0200
commitebbd17695e9e1f4c3cdb36149c8b8f38b585e14d (patch)
tree03f7948a859e86c37212a777ad18f31100a22c79 /lib/crypto/mpi/mpi-sub-ui.c
parent548d88f74ed49c3c9dbd68550b7b335c2afa6413 (diff)
dm: ima: avoid extra calls to strlen()
Since 'scnprintf()' returns the number of characters emitted (not including the trailing '\0'), use that return value instead of the subsequent calls to 'strlen()' where appropriate. Compile tested only. Signed-off-by: Dmitry Antipov <dmantipov@yandex.ru> Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Diffstat (limited to 'lib/crypto/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions