summaryrefslogtreecommitdiff
path: root/include/crypto/algapi.h
diff options
context:
space:
mode:
authorThorsten Blum <thorsten.blum@linux.dev>2025-04-07 10:22:47 +0200
committerHerbert Xu <herbert@gondor.apana.org.au>2025-04-16 15:16:20 +0800
commitb93336cd767fc266dcccfa034a1fb32ae1a23564 (patch)
treee09ffcc23c0e1f0bfd131654c3ec2dc5c1ae269b /include/crypto/algapi.h
parent5bb61dc76d11a661c323dee1505b408d18c31565 (diff)
crypto: x509 - Replace kmalloc() + NUL-termination with kzalloc()
Use kzalloc() to zero out the one-element array instead of using kmalloc() followed by a manual NUL-termination. No functional changes intended. Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev> Reviewed-by: Lukas Wunner <lukas@wunner.de> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'include/crypto/algapi.h')
0 files changed, 0 insertions, 0 deletions