| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
| |
calling free().
ok beck@ ingo@
|
| |
|
|
|
|
|
|
| |
to indicate that it requires the peer to provide a stapled OCSP response
with the handshake. Provide a "-T muststaple" for nc that uses it.
ok jsing@, guenther@
|
| |
|
|
|
|
|
|
|
|
| |
records, otherwise a peer can potentially cause us to loop indefinately.
Return with an SSL_ERROR_WANT_READ instead, so that the caller can choose
when they want to handle further processing for this connection.
ok beck@ miod@
|
| |
|
|
|
|
|
| |
that contained nothing but duplicate and misleading information;
OK jsing@
|
| |
|
|
|
|
| |
ok beck@ (who was struggling to keep lunch down while reviewing the diff)
|
|
|
|
|
| |
or certificate validation.
ok jsing@
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
been set by libtls code. This avoids the situation where a libtls callback
has set an error, only to have it replaced by a less useful libssl based
error.
ok beck@
|
| |
|
| |
|
|
|
|
|
| |
split out internals of OCSP verification to allow callback
to verify before TLS handshake is complete
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
code for improved readability, however it also address two issues.
The first of these is a hard-to-hit double free that will occur if
EVP_DigestInit_ex() fails. To avoid this and to be more robust, ensure
that tls1_digest_cached_records() either completes successfully and sets
up all of the necessary digests, or it cleans up and frees everything
that was allocated.
The second issue is that EVP_DigestUpdate() can fail - detect and handle
this in tls1_finish_mac() and change the return type to an int so that a
failure can be propagated to the caller (the callers still need to be
fixed to handle this, in a later diff).
The double-free was reported by Matthew Dillon.
ok beck@ doug@ miod@
|
| |
|
|
|
|
| |
ok jsing@
|
|
|
|
| |
ok jsing@
|
| |
|
|
|
|
| |
i wtfed, laughed, puked, and cried in more or less that order...
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Provide access to certificate OCSP URL
- Provide ability to check a raw OCSP reply against an
established TLS ctx
- Check and validate OCSP stapling info in the TLS handshake
if a stapled OCSP response is provided.`
Add example code to show OCSP URL and stapled info
into netcat.
ok jsing@
|
| |
|
|
|
|
| |
macros. Only change in generated assembly is due to line numbering.
|
| |
|
| |
|
| |
|
|
|
|
| |
change to generated assembly results from a difference in line numbers.
|
| |
|
| |
|
|
|
|
|
| |
been the default for ages, and I see no valid reason to be able to
disable it. ok natano@
|
| |
|
|
|
|
|
|
| |
quickly. In both cases it does not make sense to set hints on them.
So remove that option, which is just a remainder of old times when
malloc used to hold on to pages. ok stefan@
|
| |
|
|
|
|
| |
- redundant cast is redundant
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
and more importantly they do not provide PFS (if you want to use ECDH, use
ECDHE instead).
With input from guenther@.
ok deraadt@ guenther@
|
|
|
|
|
| |
time when we had national language support.
OK millert@
|
|
|
|
|
|
|
|
|
|
| |
fails to reduce the input in the expected space then fail out instead
of overflowing the allocated buffer.
combines openssl commits 28a89639da50b1caed4ff3015508f23173bf3e49 and
3612ff6fcec0e3d1f2a598135fe12177c0419582
ok doug@ beck@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
and add prereq targets, so some header files are generated by BUILDUSER
during 'make prereq' instead of by root during 'make includes'.
Switch the order of 'make cleandir' and 'make includes' during 'make build'
so we don't generate many files twice.
Except for some machine@ symlinks from ${MACHINE}/stand, /usr/obj is now
clean from files generated by root during 'make build'. Those will be
cleaned up in a second step.
help, testing & ok deraadt, input from natano, further testing rpe
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
others.
C11 6.5.6.9 says:
When two pointers are subtracted, both shall point to elements of the
same array object, or one past the last element of the array object; the
result is the difference of the subscripts of the two array elements.
In these cases the objects are arrays of char so the result is defined,
and we believe that the report is based on a compiler incorrectly trapping
on defined behaviour.
|
|
|
|
|
| |
prodded by otto@
ok kettenis@ otto@
|