summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/malloc-wrapper.c
diff options
context:
space:
mode:
authorjsing <>2017-04-30 04:21:53 +0000
committerjsing <>2017-04-30 04:21:53 +0000
commitf79e820651388e3e43865d862d25f125435d633d (patch)
treeab90b019f3a6b00f559c8d95d389322ca59d513e /src/lib/libcrypto/malloc-wrapper.c
parent6ccd63d72d8747f9ed7e07cef328fad0dc9fd11b (diff)
downloadopenbsd-f79e820651388e3e43865d862d25f125435d633d.tar.gz
openbsd-f79e820651388e3e43865d862d25f125435d633d.tar.bz2
openbsd-f79e820651388e3e43865d862d25f125435d633d.zip
Switch back to freezero() and explicitly initialise data_len to zero. The
previous code was safe since data would always be NULL if data_len was uninitialised, however compilers cannot know this.
Diffstat (limited to 'src/lib/libcrypto/malloc-wrapper.c')
0 files changed, 0 insertions, 0 deletions