The problem with porting POSIX code to Win32/64 is other then windows not being POSIX which causes a lot of problems to start with.
Windows lacks a lot of fundamental equals to Unix-Like system calls. I.E.: Windows has no equal to Fork, instead you need to use something like spawn(), and do some tricky memory cloning to get the same effect.
In fact one could say there is no port of OpenSSL for windows. It hasn't been updated since 2004, and lacks 64bit support.
OpenSSL doesn't need the fork system call and it already builds just fine on Win32 and Win64. You can even get pre-built binaries of the latest release:
Windows lacks a lot of fundamental equals to Unix-Like system calls. I.E.: Windows has no equal to Fork, instead you need to use something like spawn(), and do some tricky memory cloning to get the same effect.
In fact one could say there is no port of OpenSSL for windows. It hasn't been updated since 2004, and lacks 64bit support.