sstp-server icon indicating copy to clipboard operation
sstp-server copied to clipboard

Fix decoding of SSTP-API messages.

Open akuktin opened this issue 2 years ago • 0 comments

libsstp-api has a really funny way of writing its messages and the current code in sstp-server breaks on big-endian machines. In addition, attribute data is encoded into 32-bit blocks. So, say, a 1-byte value will actually occupy 4 bytes on the "wire". The current code in sstp-server breaks on this as well.

akuktin avatar Feb 16 '22 17:02 akuktin