Replacing OpenSSL

I would like to change OpenSSL for a given 1.8.4 running on a Windows
machine to have a patch[*] applied.

Compilation of the library with mingw succeeds:

perl Configure mingw shared
make

but just moving around DLLs gives segfaults. I am not familiar with
the way extensions work and are installed. Does anyone know whether
that’s even possible? If it would, what should I do?

– fxn

[*] http://rt.openssl.org/Ticket/Display.html?
id=598&user=guest&pass=guest