settings: Make print_key() not rely on null-terminated beginning of key buffer
authorTobias Brunner <tobias@strongswan.org>
Tue, 28 Jan 2014 13:17:58 +0000 (14:17 +0100)
committerTobias Brunner <tobias@strongswan.org>
Wed, 12 Feb 2014 13:34:32 +0000 (14:34 +0100)
commitef72d4cc3f887f4b1dc1d84304c22564db102a48
tree11b28206e9d24822804579c74c24945defdd3f2c
parent24d2bb7793af23d66f0510c80c34b5d78232d9c6
settings: Make print_key() not rely on null-terminated beginning of key buffer

The key to print (e.g. until the next .) still has to be
null-terminated.
src/libstrongswan/utils/settings.c