Skip to content
Advertisement

Tag: sslengine

SSLEngine Handshake stuck at second loop

I’m trying to implement an SSL Handshake using SSLEngine, I need to do it both ways as a sever and as a client as well, however I’m stuck and I cannot figure it out why. The handshake starts correctly, the Hello’s are exchanged, the keys are exchanged, but then I’m getting into a NEED_UNWRAP state. Here is the handshake code

Advertisement