commit | 03973096f416e694b676160ca481553bb44738eb | [log] [tgz] |
---|---|---|
author | David Benjamin <davidben@chromium.org> | Tue Jun 24 23:27:17 2014 -0400 |
committer | Adam Langley <agl@google.com> | Thu Jun 26 20:42:27 2014 +0000 |
tree | ae05170c9a5e9660c46ca1e137345071846be0bc | |
parent | 8adf4f1d891679df91e1d1551527b6fc0c8a7d15 [diff] |
Port ServerHello extension parsing to CBS. This gives us systematic bounds-checking on all the parses. Also adds a convenience function, CBS_memdup, for saving the current contents of a CBS. Change-Id: I17dad74575f03121aee3f771037b8806ff99d0c3 Reviewed-on: https://boringssl-review.googlesource.com/1031 Reviewed-by: Adam Langley <agl@google.com>