summaryrefslogtreecommitdiff
path: root/src/lib/libtls/tls_server.c
diff options
context:
space:
mode:
authorjsing <>2017-04-10 16:47:08 +0000
committerjsing <>2017-04-10 16:47:08 +0000
commit8d4a6ac759c1f9f5fafef26397422f7241dd61e9 (patch)
tree584dabdd6a37ef6049e55ffc10649637e5fb6e3b /src/lib/libtls/tls_server.c
parent113366cea0b43693a19c76f4975de2be95a368b3 (diff)
downloadopenbsd-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/libtls/tls_server.c')
0 files changed, 0 insertions, 0 deletions