diff options
author | Klavishnik <evg.shtanov@gmail.com> | 2023-08-09 17:05:03 +0300 |
---|---|---|
committer | Tomas Mraz <tomas@openssl.org> | 2023-10-09 12:05:10 +0200 |
commit | 962c7e0cb73fa6d83eee4bc57eb6e10c690509a1 (patch) | |
tree | e3e1a3ed9899f803c4d5227c1ec06f005068ca03 /NOTES-WINDOWS.md | |
parent | 02ddffc2c9b3a5f27d9d1b393b6c3fa1d97b9eed (diff) |
Avoid divide-by-zero in kmac_prov.c's bytepad()
This would happen if EVP_MD_get_block_size() returned 0
so we return an error instead.
Reviewed-by: Paul Dale <pauli@openssl.org>
Reviewed-by: Tim Hudson <tjh@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/21698)
(cherry picked from commit 91895e39b10033178e662fc7427a09d7562cf8e1)
Diffstat (limited to 'NOTES-WINDOWS.md')
0 files changed, 0 insertions, 0 deletions