function by #includ'ing <openssl/err.h> header which already takes
the proper care of it
- Move away from using another deprecated RSA_generate_key() function
- Apply the same hack as for the client port so it dynamically links
against libcrypto.so, rather than statically against libcrypto.a