Fix for Win32 dynamic engine loading.
authorDr. Stephen Henson <steve@openssl.org>
Sun, 15 Jan 2006 17:28:35 +0000 (17:28 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Sun, 15 Jan 2006 17:28:35 +0000 (17:28 +0000)
crypto/dso/dso_win32.c
util/mk1mf.pl

index 795c0aacfc93fdc7c306e88433b6de1cae316e89..fd3dd6a7fe3df9bd657f41ca8126e69502627b2a 100644 (file)
@@ -570,14 +570,14 @@ static char *win32_merger(DSO *dso, const char *filespec1, const char *filespec2
                }
        else
                {
-               filespec1_split = win32_splitter(dso, filespec1, 1);
+               filespec1_split = win32_splitter(dso, filespec1, 0);
                if (!filespec1_split)
                        {
                        DSOerr(DSO_F_WIN32_MERGER,
                                ERR_R_MALLOC_FAILURE);
                        return(NULL);
                        }
-               filespec2_split = win32_splitter(dso, filespec2, 0);
+               filespec2_split = win32_splitter(dso, filespec2, 1);
                if (!filespec2_split)
                        {
                        DSOerr(DSO_F_WIN32_MERGER,
index ba26f28fc63f409f300d81da4c7eee606e6395c3..10eb19c671624bfbaf15fbdb9ab40dac6a2c7746 100755 (executable)
@@ -338,8 +338,8 @@ EOF
        if ($no_static_engine)
                {
                $extra_install .= <<"EOF"
-       \$(MKDIR) \$(INSTALLTOP)${o}engines
-       \$(CP) \$(E_SHLIB) \$(INSTALLTOP)${o}engines
+       \$(MKDIR) \$(INSTALLTOP)${o}lib${o}engines
+       \$(CP) \$(E_SHLIB) \$(INSTALLTOP)${o}lib${o}engines
 EOF
                }
        }