c4f25ce0c6
yaSSL has a couple of bugs in their DH client implementation. This change works around the worst of the two. Firstly, they expect the the DH public value to be the same length as the prime. This change pads the public value as needed to ensure this. Secondly, although they handle the first byte of the shared key being zero, they don't handle the case of the second, third, etc bytes being zero. So whenever that happens the handshake fails. I don't think that there's anything that we can do about that one. Change-Id: I789c9e5739f19449473305d59fe5c3fb9b4a6167 Reviewed-on: https://boringssl-review.googlesource.com/6578 Reviewed-by: David Benjamin <davidben@chromium.org> Reviewed-by: Adam Langley <agl@google.com> |
||
---|---|---|
.. | ||
alert.go | ||
cert.pem | ||
chacha20_poly1305_test.go | ||
chacha20_poly1305.go | ||
channel_id_key.pem | ||
cipher_suites.go | ||
common.go | ||
conn.go | ||
dtls.go | ||
ecdsa_cert.pem | ||
ecdsa_key.pem | ||
handshake_client.go | ||
handshake_messages.go | ||
handshake_server.go | ||
key_agreement.go | ||
key.pem | ||
packet_adapter.go | ||
poly1305.go | ||
prf.go | ||
recordingconn.go | ||
runner_test.go | ||
runner.go | ||
test_output.go | ||
ticket.go | ||
tls.go |