diff options
author | jsing <> | 2017-04-10 16:47:08 +0000 |
---|---|---|
committer | jsing <> | 2017-04-10 16:47:08 +0000 |
commit | e72e6e8b3e034010045877652f0b5cdefc2a1d25 (patch) | |
tree | 584dabdd6a37ef6049e55ffc10649637e5fb6e3b /src/lib/libssl/s3_lib.c | |
parent | e275c4cbf7151d136aea4305fa19fe5ce550bfbf (diff) | |
download | openbsd-e72e6e8b3e034010045877652f0b5cdefc2a1d25.tar.gz openbsd-e72e6e8b3e034010045877652f0b5cdefc2a1d25.tar.bz2 openbsd-e72e6e8b3e034010045877652f0b5cdefc2a1d25.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/s3_lib.c')
0 files changed, 0 insertions, 0 deletions