Commit 3db35273 authored by Daiki Ueno's avatar Daiki Ueno
Browse files

wrap_nettle_hash_fast: avoid calling _update with zero-length input



As Nettle's hash update functions internally call memcpy, providing
zero-length input may cause undefined behavior.

Signed-off-by: Daiki Ueno's avatarDaiki Ueno <ueno@gnu.org>
parent 1e9580fa
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment