Building OpenSSL with Visual Studio 2010 for x64 / Win64 causes error

Today I was trying to build the latest OpenSSL 1.0.1c with Visual Studio 2010. Following instructions form the INSTALL.W32, I was able to successfully build the 32-bit version. Trying the same with 64-bit (x64) version, again following the official instructions from INSTALL.W64. To build for Win64/x64: > perl Configure VC-WIN64A > ms\do_win64a > nmake -f …