Fix extension length counter in client hello parsing.
authorKyle Nekritz <knekritz@fb.com>
Tue, 16 Aug 2016 16:53:26 +0000 (09:53 -0700)
committerFacebook Github Bot 0 <facebook-github-bot-0-bot@fb.com>
Tue, 16 Aug 2016 17:08:26 +0000 (10:08 -0700)
commit930cf1629bae8e6e2619d101f4a576aad2488e68
treeba2a08926035624f27a8e8d0a19c67254de8d5b1
parent6a287baae2b85280c1fc9faa42802f1f8596e569
Fix extension length counter in client hello parsing.

Summary: Orvid noticed this was always throwing on a properly formated client hello, since the sig algs extension length isn't subtracted from the counter. This doesn't actually affect any behavior (except possibly a slight perf hit), but is pretty clowny.

Reviewed By: anirudhvr

Differential Revision: D3722887

fbshipit-source-id: 579993caac96da24fb567ab977b09fca519750a0
folly/io/async/AsyncSSLSocket.cpp