buildProtocolFlags

private fnuint buildProtocolFlags(TlsVersion minVer, TlsVersion maxVer, bool isClient) pure @safe nothrow @nogc

Build protocol flags for a version range.

Parameters

minVerMinimum TLS version.
maxVerMaximum TLS version.
isClientWhether this is for client or server.

Returns

Combined protocol flags for all versions in range.