Method SSLeay_version was depricated. In init.cpp, the variable is only used to do a printf, so the easy solution at this point is to comment out that line.
// printf("Using OpenSSL version %s\n", SSLeay_version(SSLEAY_VERSION));
We need to review the code against the most recent version of OpenSSL. I believe BN_init() (bignum.h) is also depricated and should be replaced by scriptnum10.h routines.