Change functions to pass in a limit rather than calculate it
authorMatt Caswell <matt@openssl.org>
Mon, 5 Oct 2015 13:12:05 +0000 (14:12 +0100)
committerMatt Caswell <matt@openssl.org>
Mon, 5 Oct 2015 13:14:02 +0000 (14:14 +0100)
commit61dfe3a720b37efe97fa5de23ceadd17ce47518d
treeb8b476a79bc2ffe9b2d7eaed63b012fc6d692711
parent184718baabed00fecbc89fdd84b44014fcd6c444
Change functions to pass in a limit rather than calculate it

Some extension handling functions were passing in a pointer to the start
of the data, plus the length in order to calculate the end, rather than
just passing in the end to start with. This change makes things a little
more readable.

Reviewed-by: Emilia Käsper <emilia@openssl.org>
ssl/s3_srvr.c
ssl/ssl_locl.h
ssl/t1_lib.c