summaryrefslogtreecommitdiff
path: root/src/lib/libssl/ssl_versions.c
diff options
context:
space:
mode:
authorkn <>2021-06-22 17:59:48 +0000
committerkn <>2021-06-22 17:59:48 +0000
commit7464c3881edf2f952d355d3ed4e23a63ef9051fa (patch)
treed1d747e3c7141f0b016bb6282e4855cf7fdb7123 /src/lib/libssl/ssl_versions.c
parenta00177e326068510c4136d97b7b2e12a32b87822 (diff)
downloadopenbsd-7464c3881edf2f952d355d3ed4e23a63ef9051fa.tar.gz
openbsd-7464c3881edf2f952d355d3ed4e23a63ef9051fa.tar.bz2
openbsd-7464c3881edf2f952d355d3ed4e23a63ef9051fa.zip
Clarify tls_config_set_*_file() file I/O semantics
tls_config_set_*_file(3) do not just set the file paths like tls_config_set_*_path(3) do, they do load the given file(s) into memory directly using tls_config_load_file(). This distinction is important because it means a later tls_connect(3) will not do any file I/O (at least wrt. those files), which is relevant when for example pleding without "[rwc]path" after loading files into memory and before doing tls_connect(3). The manual's current wording made me use the following due to above way of pledging a program: tls_load_file() tls_config_set_ca_mem() tls_unload_file() While in fact a single tls_config_set_ca_file() call does the same. tls_config.c r1.26 (Aug 2016) change the code but forgot to amend the manual as noted by tb, thanks. Feedback OK tb
Diffstat (limited to 'src/lib/libssl/ssl_versions.c')
0 files changed, 0 insertions, 0 deletions