I've been trying to build a simple openSSL code segment, using the rsa.h header file in MSVS2008 for quite some time now, but every time I try to build it, I get the following link error:
1 2 3
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 to the linker settings, those did not work, I then tried libeay32MD.lib and ssleay32MD.lib, and I'm still getting these link errors.