Home GnuPG

kdf: add missing null-terminator for self-test test-vector array

Description

kdf: add missing null-terminator for self-test test-vector array

* cipher/kdf.c (selftest_pbkdf2): Add null-terminator to TV array.

This was causing kdf self-test to fail on s390x builds.

  • GnuPG-bug-id: T5254
  • Signed-off-by: Jussi Kivilinna <jussi.kivilinna@iki.fi>

Details

Provenance
jukiviliAuthored on Jan 19 2021, 7:04 PM
Parents
rC807827cda3ba: cipher/bithelp: use __builtin_ctzl when available
Branches
Unknown
Tags
Unknown
Tasks
T5254: libgcrypt 1.9.0 fails make check (selftest)