Move s->packet and s->packet_length into s->rlayer

Reviewed-by: Richard Levitte <levitte@openssl.org>
This commit is contained in:
Matt Caswell
2015-02-02 20:55:15 +00:00
parent 24a90afd85
commit 7a7048aff0
10 changed files with 84 additions and 67 deletions

View File

@@ -160,7 +160,7 @@ int ssl3_setup_read_buffer(SSL *s)
b->len = len;
}
s->packet = &(b->buf[0]);
RECORD_LAYER_set_packet(&s->rlayer, &(b->buf[0]));
return 1;
err: