diff options
author | bcook <> | 2014-12-07 15:00:32 +0000 |
---|---|---|
committer | bcook <> | 2014-12-07 15:00:32 +0000 |
commit | f8b7419c7a231d8409475ccb008dfdb666e82813 (patch) | |
tree | 094ce4813a37514a96f893ee676a60374f36f28b /src/usr.bin/openssl/engine.c | |
parent | 54c29dc63f86eb85f4c728ad9b5375acc16f8ea7 (diff) | |
download | openbsd-f8b7419c7a231d8409475ccb008dfdb666e82813.tar.gz openbsd-f8b7419c7a231d8409475ccb008dfdb666e82813.tar.bz2 openbsd-f8b7419c7a231d8409475ccb008dfdb666e82813.zip |
Allow specific libtls hostname validation errors to propagate.
Remove direct calls to printf from the tls_check_hostname() path. This allows
NUL byte error messages to bubble up to the caller, to be logged in a
program-appropriate way. It also removes non-portable calls to getprogname().
The semantics of tls_error() are changed slightly: the last error message is
not necessarily preserved between subsequent calls into the library.
When the previous call to libtls succeeds, client programs should treat the
return value of tls_error() as undefined.
ok tedu@
Diffstat (limited to 'src/usr.bin/openssl/engine.c')
0 files changed, 0 insertions, 0 deletions