diff options
author | jsing <> | 2017-04-30 04:21:53 +0000 |
---|---|---|
committer | jsing <> | 2017-04-30 04:21:53 +0000 |
commit | 218193cef9ff51b530e3b4dba5b4fdf95fe01bb3 (patch) | |
tree | ab90b019f3a6b00f559c8d95d389322ca59d513e /src/lib/libcrypto/buffer/buffer.c | |
parent | c24d2cd7917d204ee45c3ba761b4dd27fade46c5 (diff) | |
download | openbsd-218193cef9ff51b530e3b4dba5b4fdf95fe01bb3.tar.gz openbsd-218193cef9ff51b530e3b4dba5b4fdf95fe01bb3.tar.bz2 openbsd-218193cef9ff51b530e3b4dba5b4fdf95fe01bb3.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/buffer/buffer.c')
0 files changed, 0 insertions, 0 deletions