Well, this is more than a year old, but I couldn't find the answer so I muscled my way through. I got openssl-1.0.1e to compile using VS 11 as such:
I tried using the PERL that comes with git, didn't work, had to install ActivePerl
Taken from the link provided by Nitesh:
perl Configure VC-WIN64A no-asm
Followed by:
ms\do_win64a
Per this post, I edited ms\ntdll.mak and changed CC to:
CC="c:\Program Files (x86)\Microsoft visual Studio 11.0\VC\bin\amd64\cl.exe"
Then finally:
nmake -f ms\ntdll.mak
I didn't bother installing and just added the directory openssl-1.0.1e\out32dll to Configuration Properties -> Linker -> Additional Library Directories and openssl-1.0.1e\inc32 to Configuration Properties -> C/C++ -> C/C++ -> General -> Additional Include Directories, copied libeay32.dll to somewhere in my path, and called it good. Seems to be working.