aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/sys/win32/erl_win32_sys_ddll.c
AgeCommit message (Collapse)Author
2013-12-13erts: Refactor remove erts_sys_dll_open2Sverker Eriksson
2013-09-24Fix open_ddll for winPatrik Nyblom
2013-09-19erts, crypto: Support NIF library with unicode filename on windowsSverker Eriksson
2013-01-25Update copyright yearsBjörn-Egil Dahlberg
2012-10-09crypto: Make unloading of crypto saferSverker Eriksson
Facts: crypto nif-lib registers callback functions that openssl uses for memory management and thread synchronization. The callback functions can only be set once, openssl does not allow changing the callback functions. Problem: If openssl is dynamicly linked to crypto, you might get s scenario where the crypto lib is unloaded while leaving openssl loaded with its old pointers to the unloaded crypto code intact. If crypto is then reloaded (by init:restart() for example), the crypto nif-lib might get relocated at a different address. crypto calls openssl which in turn calls the old invalid callback functions...kaboom. Solution: Break apart the callback functions into a separate dynamic lib that crypto loads with dlopen. When crypto is unloaded the callback lib is left in place to be reused if/when crypto is loaded again.
2011-12-09Update copyright yearsBjörn-Egil Dahlberg
2011-12-02Build Win64 Erlang emulator using MSYSunknown
Still does not run, just compiles.
2009-11-20The R13B03 release.OTP_R13B03Erlang/OTP