diff options
| author | jsing <> | 2017-03-16 13:29:56 +0000 |
|---|---|---|
| committer | jsing <> | 2017-03-16 13:29:56 +0000 |
| commit | 66f094ce01d467fcd73cec6745bae67a846e549a (patch) | |
| tree | 91836b909bf0ba30f481ebe88e5bc4cf8620c2ea /src/lib/libcrypto/engine/eng_pkey.c | |
| parent | b4dddea8c97475f1939497c762f59188eef7c9c3 (diff) | |
| download | openbsd-66f094ce01d467fcd73cec6745bae67a846e549a.tar.gz openbsd-66f094ce01d467fcd73cec6745bae67a846e549a.tar.bz2 openbsd-66f094ce01d467fcd73cec6745bae67a846e549a.zip | |
Convert BUF_MEM_grow() and BUF_MEM_grow_clean() to recallocarray(),
ensuring that the buffer contents are zeroed on allocation and not leaked
when resizing.
It is worth noting that BUF_MEM_grow_clean() already did this manually by
avoiding realloc().
ok beck@ inoguchi@
Diffstat (limited to 'src/lib/libcrypto/engine/eng_pkey.c')
0 files changed, 0 insertions, 0 deletions
