david-maw / StreamSSL

The StreamSSL sample described in CodeProject
Other
47 stars 24 forks source link

Refactor SSPINegotiateLoop() #77

Open david-maw opened 5 years ago

david-maw commented 5 years ago

The SSPINegotiateLoop method has a lot of commonality between the client and server code and is 350 lines+ of fairly dense C-like code. It cries out to be refactored into something a bit more readable and with the common features shared between client and server code (maybe by putting then in SSLHelper).