systime-fix: Replace asctime() with thread-safe asctime_r()
authorTobias Brunner <tobias@strongswan.org>
Tue, 28 Jan 2020 13:55:25 +0000 (14:55 +0100)
committerTobias Brunner <tobias@strongswan.org>
Tue, 28 Jan 2020 14:32:43 +0000 (15:32 +0100)
commit18a3e6d80f4402cfb3118ad8bd1f0fe6de938f7c
tree495b159255687592bbf9d3812d72be48b6f9a632
parent584e8197fe60bf10c9076fab0463f8caf3fd503d
systime-fix: Replace asctime() with thread-safe asctime_r()

According to the man page, the buffer should have room for at least
26 characters.
src/libcharon/plugins/systime_fix/systime_fix_plugin.c