1 --- misc/openssl-0.9.8v/crypto/x509v3/v3_pci.c 2007-03-05 01:06:47.000000000 +0100
2 +++ build/openssl-0.9.8v/crypto/x509v3/v3_pci.c 2010-03-26 12:04:20.961547300 +0100
4 * Contributed to the OpenSSL Project 2004 by Richard Levitte
5 * (richard@levitte.org)
7 -/* Copyright (c) 2004 Kungliga Tekniska Högskolan
8 +/* Copyright (c) 2004 Kungliga Tekniska Hoegskolan
9 * (Royal Institute of Technology, Stockholm, Sweden).
10 * All rights reserved.
12 --- misc/openssl-0.9.8v/crypto/x509v3/v3_pcia.c 2004-12-28 01:21:33.000000000 +0100
13 +++ build/openssl-0.9.8v/crypto/x509v3/v3_pcia.c 2010-03-26 12:04:20.961547300 +0100
15 * Contributed to the OpenSSL Project 2004 by Richard Levitte
16 * (richard@levitte.org)
18 -/* Copyright (c) 2004 Kungliga Tekniska Högskolan
19 +/* Copyright (c) 2004 Kungliga Tekniska Hoegskolan
20 * (Royal Institute of Technology, Stockholm, Sweden).
21 * All rights reserved.
23 --- misc/openssl-0.9.8v/ms/do_ms.bat 2009-07-28 14:51:19.000000000 +0200
24 +++ build/openssl-0.9.8v/ms/do_ms.bat 2010-03-26 12:19:19.399047300 +0100
27 -perl util\mkfiles.pl >MINFO
28 -perl util\mk1mf.pl no-asm VC-WIN32 >ms\nt.mak
29 -perl util\mk1mf.pl dll no-asm VC-WIN32 >ms\ntdll.mak
30 +%1 util\mkfiles.pl >MINFO
31 +if %2 == VC-WIN32 goto not64a
32 +perl ms\uplink.pl win64a > ms\uptable.asm
33 +ml64 -c -Foms\uptable.obj ms\uptable.asm
35 +%1 util\mk1mf.pl no-asm %2 >ms\nt.mak
36 +%1 util\mk1mf.pl dll no-asm %2 >ms\ntdll.mak
37 -if x%OSVERSION% == x goto skipce
38 -perl util\mk1mf.pl no-asm VC-CE >ms\ce.mak
39 -perl util\mk1mf.pl dll no-asm VC-CE >ms\cedll.mak
42 -perl util\mkdef.pl 32 libeay > ms\libeay32.def
43 -perl util\mkdef.pl 32 ssleay > ms\ssleay32.def
44 +%1 util\mkdef.pl 32 libeay > ms\libeay32.def
45 +%1 util\mkdef.pl 32 ssleay > ms\ssleay32.def
46 --- misc/openssl-0.9.8v/util/mk1mf.pl 2009-09-20 14:46:42.000000000 +0200
47 +++ build/openssl-0.9.8v/util/mk1mf.pl 2010-03-26 12:04:20.977172300 +0100
52 -$perl="perl" unless defined $perl;
53 +$perl="$ENV{PERL}" unless defined $perl;
54 $mkdir="-mkdir" unless defined $mkdir;
56 ($ssl,$crypto)=("ssl","crypto");
60 ($key,$val)=/^([^=]+)=(.*)/;
62 + # On some Windows machines, $val has linefeeds at the end, which confuses
63 + # subsequent code in this file. So we strip all whitespace at the end.
66 if ($key eq "RELATIVE_DIRECTORY")
70 # Set your compiler options
74 +CFLAG=$cflags \$(SOLARINC)
77 SHLIB_CFLAG=$shl_cflag
83 +RSC=$rsc \$(SOLARINC)
85 # The output directory for everything interesting
89 #ifdef $platform_cpp_symbol
90 /* auto-generated/updated by util/mk1mf.pl for crypto/cversion.c */
91 - #define CFLAGS "compiler: $cc $cflags"
92 + #define CFLAGS "compiler: $cflags"
93 #define PLATFORM "$platform"
95 printf OUT " #define DATE \"%s\"\n", scalar gmtime();
96 --- misc/openssl-0.9.8v/util/pl/VC-32.pl 2010-02-04 02:10:24.000000000 +0100
97 +++ build/openssl-0.9.8v/util/pl/VC-32.pl 2010-03-26 12:04:20.977172300 +0100
104 if ($FLAVOR =~ /WIN64/)
106 # Note that we currently don't have /WX on Win64! There is a lot of
110 $cc=($ENV{CC} or "cl");
111 - $base_cflags=' /W3 /WX /GF /Gy /nologo -DUNICODE -D_UNICODE -DOPENSSL_SYSNAME_WINCE -DWIN32_LEAN_AND_MEAN -DL_ENDIAN -DDSO_WIN32 -DNO_CHMOD -DOPENSSL_SMALL_FOOTPRINT';
112 + $base_cflags=' -W3 -GF -Gy -nologo -DUNICODE -D_UNICODE -DOPENSSL_SYSNAME_WINCE -DWIN32_LEAN_AND_MEAN -DL_ENDIAN -DDSO_WIN32 -DNO_CHMOD -DOPENSSL_SMALL_FOOTPRINT';
113 $base_cflags.=" $wcecdefs";
114 $base_cflags.=' -I$(WCECOMPAT)/include' if (defined($ENV{'WCECOMPAT'}));
115 $base_cflags.=' -I$(PORTSDK_LIBPATH)/../../include' if (defined($ENV{'PORTSDK_LIBPATH'}));
116 @@ -123,20 +123,21 @@
118 $base_cflags.=' /MC';
120 - $opt_cflags=' /O1i'; # optimize for space, but with intrinsics...
121 - $dbg_cflags=' /Od -DDEBUG -D_DEBUG';
122 + $opt_cflags=' -O1i'; # optimize for space, but with intrinsics...
123 + $dbg_cflags=' -Od -DDEBUG -D_DEBUG';
125 $lflags="/nologo /opt:ref $wcelflag";
129 $base_cflags= " $mf_cflag";
130 - my $f = $shlib || $fips ?' /MD':' /MT';
131 + my $f = $shlib || $fips ? (($ENV{MSVC_USE_DEBUG_RUNTIME} eq "TRUE") ? ' -MDd' : ' -MD' ):' -MT';
133 - $opt_cflags=$f.' /Ox /O2 /Ob2';
134 - $dbg_cflags=$f.'d /Od -DDEBUG -D_DEBUG';
135 + $opt_cflags=$f.' -Ox -O2 -Ob2';
136 + $dbg_cflags=$f.'d -Od -DDEBUG -D_DEBUG';
137 $lflags="/nologo /subsystem:console /opt:ref";
139 -$lib_cflag='/Zl' if (!$shlib); # remove /DEFAULTLIBs from static lib
140 +$lib_cflag='-Zl' if (!$shlib); # remove /DEFAULTLIBs from static lib
143 $out_def ="out32"; $out_def.="dll" if ($shlib);
153 --- build/openssl-0.9.8v/ms/uplink.c
154 +++ build/openssl-0.9.8v/ms/uplink.c
156 #if (defined(_WIN64) || defined(_WIN32_WCE)) && !defined(UNICODE)
158 +# define _CRT_NON_CONFORMING_SWPRINTFS
160 #if defined(UNICODE) && !defined(_UNICODE)