| Commit message (Collapse) | Author | Files | Lines |
|
crash when given a large hex number as part of the dotted quad.
OK deraadt@ jsg@
|
|
single EVP MD for the PRF hash.
ok beck@ inoguchi@
|
|
truncating or left zero padding.
ok beck@ inoguchi@ sthen@
|
|
suite has been selected, and convert the final finish MAC to use this
handshake hash.
This is a first step towards cleaning up the current handshake
buffer/digest code.
ok beck@ inoguchi@
|
|
ok beck@ inoguchi@
|
|
providing SSL_accept() with fixed ClientHello messages.
|
|
function. Nothing makes use of the return value and the second argument
was only used to produce the return value...
|
|
when ssl3_send_client_certificate() was converted to the standard handshake
functions in r1.150 of s3_clnt.c.
This has no impact on TLS, however it causes the DTLS client to fail if the
server sends a certificate request, since the TLS MAC is calculated on a
non-populated DTLS header.
Issue reported by umokk on github.
|
|
exiting non-zero (which has been masking a DTLS related issue). Also make
the message consistent with other errors.
Spotted by inogochi@
|
|
|
|
|
|
Ensure both MD and key have been initialized before processing HMAC.
Releasing HMAC_CTX in error path of HMAC().
In regress test, added test 4,5,6 and cleaned up the code.
ok jsing@
|
|
|
|
ok inoguchi@
|
|
|
|
|
|
|
|
|
|
used in various parts of TLS 1.0/1.1.
This will allow for code simplification in libssl.
The same interface exists in OpenSSL 1.1.
ok beck@ deraadt@ inoguchi@ millert@
|
|
|
|
"ssl3-md5" and "ssl-sha1", call the EVP_md5() and EVP_sha1() functions
directly.
ok beck@ inoguchi@
|
|
RES_USE_DNSSEC is implemented by setting the DNSSEC DO bit in outgoing
queries. The resolver is then supposed to set the AD bit in the reply
if it managed to validate the answer through DNSSEC. Useful when the
application doesn't implement validation internally. This scheme
assumes that the validating resolver is trusted and that the
communication channel between the validating resolver and and the client
is secure.
ok eric@ gilles@
|
|
ok tb@
|
|
|
|
of Japan, they are present in Mozilla's CA store. OK ajacoutot@
/C=JP/O=SECOM Trust Systems CO.,LTD./OU=Security Communication EV RootCA1
/C=JP/O=SECOM Trust Systems CO.,LTD./OU=Security Communication RootCA2
/C=JP/O=SECOM Trust.net/OU=Security Communication RootCA1
|
|
- add macro CHECK_GOTO
- unify function return code to rc
- add err: label for error goto
ok bcook@
|
|
that make use of it.
ok bcook@ inoguchi@
|
|
|
|
|
|
and document ERR_asprintf_error_data as their replacement.
ok jsing@, ingo@
|
|
|
|
about tls_error(3), and warn about some traps;
OK jmc@
|
|
EDNS allows for various DNS extensions, among which UDP DNS packets size
bigger than 512 bytes. The default is still to not advertize anything.
ok eric@
|
|
pointer being NULL.
Found by jsg@ with cppcheck; also detected by Coverity.
|
|
free() error path.
ok otto@
|
|
|
|
a page. This is not required by any standard and other malloc
implementation do not document (or implement) this. ok deraadt@
|
|
the unix connect is successful, let nc -z close the socket and exit
with 0.
OK jca@
|
|
|
|
Should make debugging easier, especially when using -x literal_ipv6_address
|
|
|
|
wrapper that calls poll(2) and handles the -w timeout.
OK beck@
|
|
there is already a close(2), so do not do it in readwrite().
OK beck@
|
|
loop. Use an additional poll(2) during the handshake and also
respect the -w timeout option there.
From Shuo Chen; OK beck@
|
|
provided error code matches the error that is currently on the top of the
error stack.
|
|
|
|
1989, VMS, or MS/DOS and we all run Brobdingnagian C compilers that have
can now be counted on to achieve this level of sophistication nearly
everywhere.
ok jsing@
|
|
Make a table of "function codes" which maps the internal state of the SSL *
to something like a useful name so in a typical error in the connection you
know in what sort of place in the handshake things happened. (instead of
by arcane function name).
Add SSLerrorx() for when we don't have an SSL *
ok jsing@ after us both being prodded by bluhm@ to make it not terrible
|
|
SSL_{,CTX_}ctrl() functions. As crazy as it is, some software appears to
call the control functions directly rather than using the macros (or
functions) provided by the library.
Discussed with beck@ and sthen@
|
|
ok jsing@
|