summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/buffer/buffer.c
diff options
context:
space:
mode:
authorjsing <>2017-04-30 04:21:53 +0000
committerjsing <>2017-04-30 04:21:53 +0000
commit218193cef9ff51b530e3b4dba5b4fdf95fe01bb3 (patch)
treeab90b019f3a6b00f559c8d95d389322ca59d513e /src/lib/libcrypto/buffer/buffer.c
parentc24d2cd7917d204ee45c3ba761b4dd27fade46c5 (diff)
downloadopenbsd-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