boringssl/ssl
David Benjamin 3e3090dc50 Pass a dtls1_use_epoch enum down to dtls1_seal_record.
This is considerably less scary than swapping out connection state. It also
fixes a minor bug where, if dtls1_do_write had an alert to dispatch and we
happened to retry during a rexmit, it would use the wrong epoch.

BUG=468889

Change-Id: I754b0d46bfd02f797f4c3f7cfde28d3e5f30c52b
Reviewed-on: https://boringssl-review.googlesource.com/4793
Reviewed-by: Adam Langley <agl@google.com>
2015-05-21 17:59:36 +00:00
..
pqueue Fix memory leak in pqueue_test. 2015-02-11 23:18:45 +00:00
test Tidy up state machine coverage tests. 2015-05-20 21:12:58 +00:00
CMakeLists.txt Factor SSL_AEAD_CTX into a dedicated type. 2015-05-21 17:59:15 +00:00
d1_both.c Pass a dtls1_use_epoch enum down to dtls1_seal_record. 2015-05-21 17:59:36 +00:00
d1_clnt.c Never resume sessions on renegotiations. 2015-05-14 22:53:21 +00:00
d1_lib.c Pass a dtls1_use_epoch enum down to dtls1_seal_record. 2015-05-21 17:59:36 +00:00
d1_meth.c Promote all dtls1_ctrl hooks to functions. 2015-05-06 22:11:05 +00:00
d1_pkt.c Pass a dtls1_use_epoch enum down to dtls1_seal_record. 2015-05-21 17:59:36 +00:00
d1_srtp.c Fix STACK_OF pointer style. 2015-05-06 22:55:16 +00:00
d1_srvr.c Never resume sessions on renegotiations. 2015-05-14 22:53:21 +00:00
internal.h Pass a dtls1_use_epoch enum down to dtls1_seal_record. 2015-05-21 17:59:36 +00:00
s3_both.c Remove redundant setup buffer calls. 2015-05-11 21:31:59 +00:00
s3_clnt.c Set minimum DH group size to 1024 bits. 2015-05-20 18:35:31 +00:00
s3_enc.c Remove unnecessary NULL checks, part 5. 2015-05-04 23:16:19 +00:00
s3_lib.c Factor SSL_AEAD_CTX into a dedicated type. 2015-05-21 17:59:15 +00:00
s3_meth.c Promote all SSL callback ctrl hooks to proper functions. 2015-05-06 22:10:47 +00:00
s3_pkt.c Factor SSL_AEAD_CTX into a dedicated type. 2015-05-21 17:59:15 +00:00
s3_srvr.c Never resume sessions on renegotiations. 2015-05-14 22:53:21 +00:00
ssl_aead_ctx.c Factor SSL_AEAD_CTX into a dedicated type. 2015-05-21 17:59:15 +00:00
ssl_algs.c Rename ssl_locl.h to internal.h 2015-04-10 22:14:09 +00:00
ssl_asn1.c Remove unnecessary NULL checks, part 5. 2015-05-04 23:16:19 +00:00
ssl_cert.c Remove remaining calls to the old lock functions. 2015-05-20 19:18:13 +00:00
ssl_cipher.c Remove dead field from CIPHER_ORDER. 2015-05-06 22:36:31 +00:00
ssl_lib.c Factor SSL_AEAD_CTX into a dedicated type. 2015-05-21 17:59:15 +00:00
ssl_rsa.c Switch EVP_PKEY_dup calls to EVP_PKEY_up_ref. 2015-05-06 22:57:09 +00:00
ssl_sess.c Remove remaining calls to the old lock functions. 2015-05-20 19:18:13 +00:00
ssl_stat.c Rename ssl_locl.h to internal.h 2015-04-10 22:14:09 +00:00
ssl_test.cc Revert "Temporarily break a handful of tests." 2015-05-04 20:21:32 -04:00
ssl_txt.c Rename ssl_locl.h to internal.h 2015-04-10 22:14:09 +00:00
t1_enc.c Factor SSL_AEAD_CTX into a dedicated type. 2015-05-21 17:59:15 +00:00
t1_lib.c Factor SSL_AEAD_CTX into a dedicated type. 2015-05-21 17:59:15 +00:00
t1_reneg.c Include-what-you-use ssl/internal.h. 2015-04-10 22:15:02 +00:00