openssl client example - compiling and running
I assume you have build and install openssl. So next step would be to compile it....
To compile it as a shared object,
gcc -o client client.c -lssl -lcrypto -L /opt/openssl/lib -I /opt/openssl/include
Setting up your library ptah
export LD_LIBRARY_PATH=/opt/openssl/lib
And finally running it using
./client
Comments