Cygwin to use DSO_FLFCN and mingw to use DSO_WIN32 (required for FIPS).
authorAndy Polyakov <appro@openssl.org>
Sat, 12 Mar 2005 11:28:22 +0000 (11:28 +0000)
committerAndy Polyakov <appro@openssl.org>
Sat, 12 Mar 2005 11:28:22 +0000 (11:28 +0000)
Configure
TABLE
crypto/dso/dso_win32.c

index 574bf55f5702d05b9cc56070c964d6687c31cc2c..a83c5d406c00de7019743a3bdc1e7d4125c400d7 100755 (executable)
--- a/Configure
+++ b/Configure
@@ -527,7 +527,7 @@ my %table=(
 
 # Cygwin
 "Cygwin-pre1.3", "gcc:-DTERMIOS -DL_ENDIAN -fomit-frame-pointer -O3 -m486 -Wall::(unknown):CYGWIN32::BN_LLONG ${x86_gcc_des} ${x86_gcc_opts}::::::::::win32",
-"Cygwin", "gcc:-DTERMIOS -DL_ENDIAN -fomit-frame-pointer -O3 -march=i486 -Wall:::CYGWIN32::BN_LLONG ${x86_gcc_des} ${x86_gcc_opts}:${x86_out_asm}:win32:cygwin-shared:::.dll",
+"Cygwin", "gcc:-DTERMIOS -DL_ENDIAN -fomit-frame-pointer -O3 -march=i486 -Wall:::CYGWIN32::BN_LLONG ${x86_gcc_des} ${x86_gcc_opts}:${x86_out_asm}:dlfcn:cygwin-shared:::.dll",
 
 # DJGPP
 "DJGPP", "gcc:-I/dev/env/WATT_ROOT/inc -DTERMIOS -DL_ENDIAN -fomit-frame-pointer -O2 -Wall -DDEVRANDOM=\"/dev/urandom\\x24\":::MSDOS:-L/dev/env/WATT_ROOT/lib -lwatt:BN_LLONG ${x86_gcc_des} ${x86_gcc_opts}::::::::::",
diff --git a/TABLE b/TABLE
index b871ce8863c69fd369eb4a30f318d8b26af3c138..dda6b501599d48163c7cec8455e7169ee0650acf 100644 (file)
--- a/TABLE
+++ b/TABLE
@@ -92,7 +92,7 @@ $cast_obj     = asm/cx86-out.o
 $rc4_obj      = asm/rx86-out.o
 $rmd160_obj   = asm/rm86-out.o
 $rc5_obj      = asm/r586-out.o
-$dso_scheme   = win32
+$dso_scheme   = dlfcn
 $shared_target= cygwin-shared
 $shared_cflag = 
 $shared_ldflag = 
index 6c30deb250b25c4d2a13f23e3d90b4a490b9956d..3fa90eb27cfafe327c53e99020160577eab0f782 100644 (file)
@@ -61,7 +61,7 @@
 #include "cryptlib.h"
 #include <openssl/dso.h>
 
-#if !defined(OPENSSL_SYS_WIN32) || defined(OPENSSL_SYS_WINCE)
+#if !defined(DSO_WIN32)
 DSO_METHOD *DSO_METHOD_win32(void)
        {
        return NULL;