diff options
author | jsing <> | 2017-04-10 16:47:08 +0000 |
---|---|---|
committer | jsing <> | 2017-04-10 16:47:08 +0000 |
commit | 8d4a6ac759c1f9f5fafef26397422f7241dd61e9 (patch) | |
tree | 584dabdd6a37ef6049e55ffc10649637e5fb6e3b /src/lib/libssl/d1_lib.c | |
parent | 113366cea0b43693a19c76f4975de2be95a368b3 (diff) | |
download | openbsd-8d4a6ac759c1f9f5fafef26397422f7241dd61e9.tar.gz openbsd-8d4a6ac759c1f9f5fafef26397422f7241dd61e9.tar.bz2 openbsd-8d4a6ac759c1f9f5fafef26397422f7241dd61e9.zip |
Use freezero() for i2d_SSL_SESSION() - one line of code instead of three.
In this case the memory allocated can also be significant, in which case
freezero() will have less overhead than explicit_bzero() (munmap instead
of touching all of the memory to write zeros).
Diffstat (limited to 'src/lib/libssl/d1_lib.c')
0 files changed, 0 insertions, 0 deletions