Below is the code which am using it.
/* ---------------------------------------------------------- * * These function calls initialize openssl for correct