summaryrefslogtreecommitdiffstats
path: root/lib/libssl/ssl_both.c
diff options
context:
space:
mode:
authorjsing <jsing@openbsd.org>2017-05-06 21:34:13 +0000
committerjsing <jsing@openbsd.org>2017-05-06 21:34:13 +0000
commit54356a5d711c8d80e4edec59da532ab29b95e04d (patch)
tree322f1c80daa65713fd63dee149d51c6bde3f0605 /lib/libssl/ssl_both.c
parentBIO_free_all() and EVP_PKEY_free() can be called with NULL. (diff)
downloadwireguard-openbsd-54356a5d711c8d80e4edec59da532ab29b95e04d.tar.xz
wireguard-openbsd-54356a5d711c8d80e4edec59da532ab29b95e04d.zip
Use freezero() for the tls_load_file() failure case, since we're
potentially dealing with key material. Also switch a calloc to malloc, since we immediately copy the same amount of data to the newly allocated buffer.
Diffstat (limited to 'lib/libssl/ssl_both.c')
0 files changed, 0 insertions, 0 deletions