diff options
author | 2017-05-06 21:34:13 +0000 | |
---|---|---|
committer | 2017-05-06 21:34:13 +0000 | |
commit | 54356a5d711c8d80e4edec59da532ab29b95e04d (patch) | |
tree | 322f1c80daa65713fd63dee149d51c6bde3f0605 /lib/libssl/ssl_both.c | |
parent | BIO_free_all() and EVP_PKEY_free() can be called with NULL. (diff) | |
download | wireguard-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