boringssl/ssl/test/runner
David Benjamin 5fa3eba03d Clear the error queue when dropping a bad DTLS packet.
This regressed in e95d20dcb8. EVP_AEAD will push
errors on the error queue (unlike the EVP_CIPHER codepath which checked
everything internally to ssl/ and didn't bother pushing anything). This meant
that a dropped packet would leave junk in the error queue.

Later, when SSL_read returns <= 0 (EOF or EWOULDBLOCK), the non-empty error
queue check in SSL_get_error kicks in and SSL_read looks to have failed.

BUG=https://code.google.com/p/webrtc/issues/detail?id=4214

Change-Id: I1e5e41c77a3e5b71e9eb0c72294abf0da677f840
Reviewed-on: https://boringssl-review.googlesource.com/2982
Reviewed-by: Adam Langley <agl@google.com>
2015-01-22 22:06:40 +00:00
..
alert.go Inital import. 2014-06-20 13:17:32 -07:00
cert.pem Inital import. 2014-06-20 13:17:32 -07:00
channel_id_key.pem Add basic TLS Channel ID tests. 2014-08-26 17:40:36 +00:00
cipher_suites.go Don't set client_version to the ServerHello version. 2014-12-11 18:49:42 +00:00
common.go Add tests for certificate mismatch. 2015-01-14 21:51:17 +00:00
conn.go Drop retransmits in DTLS tests. 2015-01-14 21:13:05 +00:00
dtls.go Drop retransmits in DTLS tests. 2015-01-14 21:13:05 +00:00
ecdsa_cert.pem Inital import. 2014-06-20 13:17:32 -07:00
ecdsa_key.pem Inital import. 2014-06-20 13:17:32 -07:00
handshake_client.go Left-pad a V2ClientHello's random, not right-pad. 2014-12-02 19:44:12 +00:00
handshake_messages.go Add tests for OCSP stapling and SCT lists. 2014-12-02 19:26:01 +00:00
handshake_server.go Add tests for certificate mismatch. 2015-01-14 21:51:17 +00:00
key_agreement.go Don't set client_version to the ServerHello version. 2014-12-11 18:49:42 +00:00
key.pem Inital import. 2014-06-20 13:17:32 -07:00
packet_adapter.go Clear the error queue when dropping a bad DTLS packet. 2015-01-22 22:06:40 +00:00
prf.go Add tests for signature algorithm negotiation. 2014-11-18 22:30:03 +00:00
recordingconn.go Extended master secret support. 2014-10-24 21:19:44 +00:00
runner.go Clear the error queue when dropping a bad DTLS packet. 2015-01-22 22:06:40 +00:00
ticket.go Extended master secret support. 2014-10-24 21:19:44 +00:00
tls.go Add DTLS replay tests. 2014-11-10 23:58:56 +00:00