tls-peer: Refactor parsing of TLS extensions
authorTobias Brunner <tobias@strongswan.org>
Tue, 25 Aug 2020 14:14:54 +0000 (16:14 +0200)
committerTobias Brunner <tobias@strongswan.org>
Fri, 12 Feb 2021 10:45:44 +0000 (11:45 +0100)
commitc78b2bee5dc054cd0fadc4230b70270f9e264ce6
treed7576244512fb97f5dcbd070dc9fa060ff98d306
parentf0ed5f9125fbb8da4f6cd01ab7120ccb6328455c
tls-peer: Refactor parsing of TLS extensions

Also adds proper error handling.
src/libtls/tls_peer.c