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

Popular posts from this blog

gemini cli getting file not defined error

NodeJS: Error: spawn EINVAL in window for node version 20.20 and 18.20

vllm : Failed to infer device type