Hello I'm new here.

I've been trying to build a simple openSSL code segment, using the RSA.h header file in MS VS2008 for quite some time now, but every time I try to build it, I get the following link error:

void test() {
   RSA * r = RSA_new();
error LNK2019: unresolved external symbol _RSA_new referenced in function "void __cdecl test(void)" (?test@@YAXXZ)

I have already added the libraries libeay32.lib and ssleay32.lib, those did not work, I then tried libeay32MD.lib and ssleay32MD.lib, and I'm still getting these link errors.

I downloaded the win64 binaries and installed them to my VC folder.

Any help would be appreciated, thanks.