Re: TLSClientHelloExtractor explanation

2018-10-04 Thread Mark Thomas
On 04/10/18 15:32, Marek Czernek wrote: > Hi there, > > I'm looking at the class TLSClientHelloExtractor, specifically line [1]. > The switch statement takes extensionType, which is a char, but the case > of the switch statements are integers. > > So we're essentially comparing (char) a == (int)

TLSClientHelloExtractor explanation

2018-10-04 Thread Marek Czernek
Hi there, I'm looking at the class TLSClientHelloExtractor, specifically line [1]. The switch statement takes extensionType, which is a char, but the case of the switch statements are integers. So we're essentially comparing (char) a == (int) b. The possible values are: TLS_EXTENSION_SERVER_