summaryrefslogtreecommitdiff
path: root/lib/libtls/tls_util.c
AgeCommit message (Expand)Author
2023-05-14add missing #include <string.h>; ok tb@Omar Polo
2021-08-16typo in commentTheo Buehler
2019-04-13Null out pointers on asprintf() failure.Theo Buehler
2019-04-04Only assign destlen when src is non-NULL.Joel Sing
2018-02-08Assert tedu's copyright since some of the code moved here is his.Joel Sing
2018-02-08Split keypair handling out into its own file - it had already appearedJoel Sing
2018-02-05Be consistent with the goto label names used in libtls code.Joel Sing
2017-06-22Use the tls_password_cb() callback with all PEM_read_bio_*() calls, so thatJoel Sing
2017-05-06Use freezero() for the tls_load_file() failure case, since we'reJoel Sing
2017-05-06BIO_free_all() and EVP_PKEY_free() can be called with NULL.Joel Sing
2017-05-06Provide a tls_unload_file() function, that frees the memory returned fromJoel Sing
2016-11-04Address some signed vs unsigned warnings and check that an integer valueJoel Sing
2016-10-03use the same type for buf as the return type in tls_load_fileBrent Cook
2015-09-09Indent labels with a space so that diff -p is more friendly.Joel Sing
2015-02-07Add tls_load_file() as a helper to load certificates or encrypted keysReyk Floeter
2014-10-31Rename libressl to libtls to avoid confusion and to make it easier toJoel Sing