| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
how our tree gets built. If this was done in all the libraries (imagine
sys/dev), it would disrupt the development process hugely. So it should
not be done here either. use 'make includes' by hand instead.
|
| | |
|
| | |
|
| |
|
|
|
|
| |
been installed prior to building.
Requested by and ok tb@
|
| |
|
|
| |
ok jsing@
|
| |
|
|
|
|
|
| |
This will as yet not do anything, until we turn it on in the
lower level libraries.
ok jsing@
|
| |
|
|
|
|
|
| |
This makes tls_config_parse_protocols() recognise and handle "tlsv1.3".
If TLSv1.3 is enabled libtls will also request libssl to enable it.
ok beck@ tb@
|
| | |
|
| |
|
|
| |
ok jsing@
|
| |
|
|
| |
ok kinichiro@ jsing@
|
| | |
|
| |
|
|
| |
ok schwarze@
|
| |
|
|
|
|
|
|
|
| |
This returns the strength in bits of the symmetric cipher used for the
connection.
Diff from gilles@
ok tb@
|
| |
|
|
| |
and symbol addition.
|
| |
|
|
|
|
|
|
|
|
| |
Move the documentation for tls_error() down so that both the special return
values for tls_{handshake,read,write,close}() directly follow the standard
return values for the same functions.
Prompted by deraadt@.
ok deraadt@ schwarze@
|
| |
|
|
|
|
| |
TLS_WANT_POLLIN, -1, or 0. After handling the first two, check for -1
rather than vaguely "< 0".
ok jsing
|
| |
|
|
| |
ok tb@, jsing@, sthen@
|
| |
|
|
| |
ok tb@
|
| |
|
|
|
|
|
|
| |
These pointers will be passed to free. According to asprintf(3), "on
OpenBSD, ret will be set to the null pointer, but this behavior should
not be relied upon."
ok jsing
|
| |
|
|
| |
This avoids ever having a non-zero len with a NULL pointer.
|
| |
|
|
|
|
|
| |
While PTHREAD_MUTEX_INITIALIZER can be used on OpenBSD, some other
platforms do not like it.
Noted by bcook@
|
| | |
|
| |
|
|
|
|
|
|
| |
This makes libtls more friendly for multithreaded use - otherwise we can
end up with incorrect refcounts and end up freeing when we should not be
(or not freeing when we should be).
ok beck@
|
| |
|
|
| |
ok jsing
|
| |
|
|
| |
okay tb@
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
| |
that should have been deleted before commit.
The cross reference is already present below SEE ALSO.
Glitch noticed by jsing@.
|
| | |
|
| |
|
|
|
|
| |
an internal detail of the library, so the string should live inside it,
not in the application code.
ok jsing
|
| | |
|
| |
|
|
|
|
| |
own define for /etc/ssl/cert.pem.
ok beck@ bluhm@ tb@
|
| |
|
|
| |
and changes to struct visibility/sizes (libssl).
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
|
| |
improve readability and ease of maintenance.
Positive feedback jmc
Detailed suggestion & ok schwarze
|
| |
|
|
|
|
|
| |
tls_peer_ocsp_result_msg() in the documentation.
input & ok jsing
Reads fine to jmc and makes sense to schwarze
|
| |
|
|
|
|
| |
explicit about the servername argument of tls_connect_servername(3).
input & ok jsing, input & ok schwarze on earlier version
|
| |
|
|
| |
ok jsing, schwarze
|
| |
|
|
|
| |
fixing an awkward wording noticed by tb@.
OK tb@
|
| | |
|
| |
|
|
| |
Diff from Jack Burton <jack at saosce dot com dot au>.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Previously this incorrectly called tls_keypair_clear(), which results in
the private key being cleared, along with the certificate, OCSP staple and
pubkey hash. This breaks OCSP stapling if tls_config_clear_keys() is called
following tls_configure(), as is done by httpd.
Fix this by calling tls_keypair_clear_key() so that only the private key is
cleared, leaving the other public data untouched. While here, remove
tls_keypair_clear() and fold the necessary parts into tls_keypair_free().
ok beck@
|
| |
|
|
|
|
| |
being loaded behind our back, at a later point.
ok beck@
|
| |
|
|
|
|
| |
tls_config_set_ecdhecurve().
Spotted by Coverity.
|
| | |
|
| |
|
|
|
|
|
|
|
| |
Now that we have tls_init() under pthread_once(), automatically initialise
libtls from the entry point functions (tls_config(), tls_client() and
tls_server()) - this makes an explicit tls_init() call no longer a
requirement.
ok bcook@ beck@ inoguchi@
|
| |
|
|
| |
req by deraadt
|