Remove cookie_len setting in dtls1_new.
This should have been removed with its dtls1_clear cousin in
8c88153465
.
Change-Id: Ibf4ee67348f603285b26766568cbb92183b62cee
Reviewed-on: https://boringssl-review.googlesource.com/2823
Reviewed-by: Adam Langley <agl@google.com>
This commit is contained in:
parent
62fd16283a
commit
dc4b197f0f
@ -134,10 +134,6 @@ int dtls1_new(SSL *s) {
|
|||||||
d1->sent_messages = pqueue_new();
|
d1->sent_messages = pqueue_new();
|
||||||
d1->buffered_app_data.q = pqueue_new();
|
d1->buffered_app_data.q = pqueue_new();
|
||||||
|
|
||||||
if (s->server) {
|
|
||||||
d1->cookie_len = sizeof(s->d1->cookie);
|
|
||||||
}
|
|
||||||
|
|
||||||
if (!d1->unprocessed_rcds.q || !d1->processed_rcds.q ||
|
if (!d1->unprocessed_rcds.q || !d1->processed_rcds.q ||
|
||||||
!d1->buffered_messages || !d1->sent_messages ||
|
!d1->buffered_messages || !d1->sent_messages ||
|
||||||
!d1->buffered_app_data.q) {
|
!d1->buffered_app_data.q) {
|
||||||
|
Loading…
Reference in New Issue
Block a user