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 18:52:38 +0000 (19:52 +0100)
commitf141376ae2892b59f2b1af94204f925832f8dc3a
tree30f3e859f475a220f5bdd62ceb6e622cfbed6baa
parente4840c88c516d959785fcd842d8658d3b7a6ae43
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>
Conflicts:
ssl/s3_srvr.c
ssl/ssl_locl.h
ssl/t1_lib.c
ssl/s3_srvr.c
ssl/ssl_locl.h
ssl/t1_lib.c