Skip to content

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_…

Add a jar file to another jar file

In my project I have this code that tell class loader to load Driver.class like so: In Eclipse it runs with no problems and I have created the Jar file of the project. But I don’t know how to insert the mysql-connector-java-5.1.7-bin.jar into a Jar file of my project. The folder structure look like this…