From 04d864f3418b5bfa36d2cd1d52facacdfc1a8dfe Mon Sep 17 00:00:00 2001 From: The Wine Synchronizer Date: Thu, 6 Jul 2006 11:10:26 +0000 Subject: [PATCH] Autosyncing with Wine HEAD svn path=/trunk/; revision=22885 --- reactos/dll/win32/cryptdll/cryptdll.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/reactos/dll/win32/cryptdll/cryptdll.c b/reactos/dll/win32/cryptdll/cryptdll.c index fcb8589c753..4013cb29d7d 100644 --- a/reactos/dll/win32/cryptdll/cryptdll.c +++ b/reactos/dll/win32/cryptdll/cryptdll.c @@ -13,7 +13,7 @@ * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA */ #include "config.h" @@ -32,6 +32,8 @@ BOOL WINAPI DllMain (HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved) TRACE("%p,%lx,%p\n", hinstDLL, fdwReason, lpvReserved); switch (fdwReason) { + case DLL_WINE_PREATTACH: + return FALSE; /* prefer native version */ case DLL_PROCESS_ATTACH: { DisableThreadLibraryCalls(hinstDLL);