Fix previous commit

Authored by werner on Sun, Feb 14, 6:54 PM.

Description

Fix previous commit

* src/global.c (_gcry_get_config): Append the Nul only in the !what
case.

Actually this was my fault - I stripped off the test which Jussi did in
his original fix on master. And did not run make check.

Details

Committed
wernerSun, Feb 14, 6:54 PM
Parents
rC3f42f727a069: Make sure the grcy_get_config string is always null-terminated.
Branches
Unknown
Tags
Unknown
References
LIBGCRYPT-1.8-BRANCH