<!-- Generator: GNU source-highlight 2.4
by Lorenzo Bettini
http://www.lorenzobettini.it
http://www.gnu.org/software/src-highlite -->
<pre><tt>#
#
# add_dir "packages/openssl/openssl-0.9.8g"

# add_file "packages/openssl/openssl-0.9.8g/configure-targets.patch"
#  content [40d57766f81e17ec56ee4b10fd84987ba1d73129]

# add_file "packages/openssl/openssl-0.9.8g/debian.patch"
#  content [e2524f821f3c1693aabb548a7c6c9cfac5a7a56b]

# add_file "packages/openssl/openssl_0.9.8g.bb"
#  content [e326706f63f853e3243bfc002f2f8d924885404d]

# patch "conf/checksums.ini"
#  from [d77d67963ac6841ccdbae0026f82f72e3e7d014c]
#    to [b64a88ec68ec8639f2e34a1c41503b49a393399e]
#
============================================================
<font color="#FF6600">--- packages/openssl/openssl-0.9.8g/configure-targets.patch        40d57766f81e17ec56ee4b10fd84987ba1d73129</font>
<font color="#009900">+++ packages/openssl/openssl-0.9.8g/configure-targets.patch        40d57766f81e17ec56ee4b10fd84987ba1d73129</font>
<font color="#0000FF">@@ -0,0 +1,24 @@</font>
<font color="#009900">+</font>
<font color="#009900">+The number of colons are important :)</font>
<font color="#009900">+</font>
<font color="#009900">+Index: openssl-0.9.8g/Configure</font>
<font color="#009900">+===================================================================</font>
<font color="#009900">+--- openssl-0.9.8g.orig/Configure        2008-04-12 04:27:22.000000000 +0200</font>
<font color="#009900">++++ openssl-0.9.8g/Configure        2008-04-12 04:38:56.000000000 +0200</font>
<font color="#009900">+@@ -395,6 +395,16 @@</font>
<font color="#009900">+ "linux-alpha-ccc","ccc:-fast -readonly_strings -DL_ENDIAN -DTERMIO::-D_REENTRANT:::SIXTY_FOUR_BIT_LONG RC4_CHUNK DES_INT DES_PTR DES_RISC1 DES_UNROLL:${no_asm}",</font>
<font color="#009900">+ "linux-alpha+bwx-ccc","ccc:-fast -readonly_strings -DL_ENDIAN -DTERMIO::-D_REENTRANT:::SIXTY_FOUR_BIT_LONG RC4_CHAR RC4_CHUNK DES_INT DES_PTR DES_RISC1 DES_UNROLL:${no_asm}",</font>
<font color="#009900">+ </font>
<font color="#009900">++ # Linux on ARM</font>
<font color="#009900">++"linux-elf-arm","$ENV{'CC'}:-DL_ENDIAN -DTERMIO -O3 -fomit-frame-pointer -Wall::-D_REENTRANT::-ldl:BN_LLONG DES_RISC1::::::::::::dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)",</font>
<font color="#009900">++"linux-elf-armeb","$ENV{'CC'}:-DB_ENDIAN -DTERMIO -O3 -fomit-frame-pointer -Wall::-D_REENTRANT::-ldl:BN_LLONG DES_RISC1::::::::::::dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)",</font>
<font color="#009900">++"linux-gnueabi-arm","$ENV{'CC'}:-DL_ENDIAN -DTERMIO -O3 -fomit-frame-pointer -Wall::-D_REENTRANT::-ldl:BN_LLONG DES_RISC1::::::::::::dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)",</font>
<font color="#009900">++"linux-gnueabi-armeb","$ENV{'CC'}:-DB_ENDIAN -DTERMIO -O3 -fomit-frame-pointer -Wall::-D_REENTRANT::-ldl:BN_LLONG DES_RISC1::::::::::::dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)",</font>
<font color="#009900">++"linux-uclibcgnueabi-arm","$ENV{'CC'}:-DL_ENDIAN -DTERMIO -O3 -fomit-frame-pointer -Wall::-D_REENTRANT::-ldl:BN_LLONG DES_RISC1::::::::::::dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)",</font>
<font color="#009900">++"linux-uclibcgnueabi-armeb","$ENV{'CC'}:-DB_ENDIAN -DTERMIO -O3 -fomit-frame-pointer -Wall::-D_REENTRANT::-ldl:BN_LLONG DES_RISC1::::::::::::dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)",</font>
<font color="#009900">++</font>
<font color="#009900">++"linux-avr32","$ENV{'CC'}:-DTERMIO -O3 -fomit-frame-pointer -Wall::-D_REENTRANT::-ldl:BN_LLONG DES_RISC1::::::::::::dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).",</font>
<font color="#009900">++</font>
<font color="#009900">+ #### *BSD [do see comment about ${BSDthreads} above!]</font>
<font color="#009900">+ "BSD-generic32","gcc:-DTERMIOS -O3 -fomit-frame-pointer -Wall::${BSDthreads}:::BN_LLONG RC2_CHAR RC4_INDEX DES_INT DES_UNROLL:${no_asm}:dlfcn:bsd-gcc-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)",</font>
<font color="#009900">+ "BSD-x86",        "gcc:-DL_ENDIAN -DTERMIOS -O3 -fomit-frame-pointer -Wall::${BSDthreads}:::BN_LLONG ${x86_gcc_des} ${x86_gcc_opts}:${x86_out_asm}:dlfcn:bsd-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)",</font>
============================================================
<font color="#FF6600">--- packages/openssl/openssl-0.9.8g/debian.patch        e2524f821f3c1693aabb548a7c6c9cfac5a7a56b</font>
<font color="#009900">+++ packages/openssl/openssl-0.9.8g/debian.patch        e2524f821f3c1693aabb548a7c6c9cfac5a7a56b</font>
<font color="#0000FF">@@ -0,0 +1,1281 @@</font>
<font color="#009900">+--- openssl-0.9.8g.orig/Makefile</font>
<font color="#009900">++++ openssl-0.9.8g/Makefile</font>
<font color="#009900">+@@ -11,11 +11,11 @@</font>
<font color="#009900">+ SHLIB_VERSION_HISTORY=</font>
<font color="#009900">+ SHLIB_MAJOR=0</font>
<font color="#009900">+ SHLIB_MINOR=9.8</font>
<font color="#009900">+-SHLIB_EXT=</font>
<font color="#009900">+-PLATFORM=dist</font>
<font color="#009900">+-OPTIONS= no-camellia no-gmp no-krb5 no-mdc2 no-rc5 no-rfc3779 no-seed no-shared no-tlsext no-zlib no-zlib-dynamic</font>
<font color="#009900">+-CONFIGURE_ARGS=dist</font>
<font color="#009900">+-SHLIB_TARGET=</font>
<font color="#009900">++SHLIB_EXT=.so.$(SHLIB_MAJOR).$(SHLIB_MINOR)</font>
<font color="#009900">++PLATFORM=debian-amd64</font>
<font color="#009900">++OPTIONS=--prefix=/usr --openssldir=/usr/lib/ssl enable-zlib enable-tlsext no-camellia no-gmp no-idea no-krb5 no-mdc2 no-rc5 no-rfc3779 no-seed no-shared no-zlib-dynamic</font>
<font color="#009900">++CONFIGURE_ARGS=--prefix=/usr --openssldir=/usr/lib/ssl no-idea no-mdc2 no-rc5 zlib enable-tlsext debian-amd64</font>
<font color="#009900">++SHLIB_TARGET=linux-shared</font>
<font color="#009900">+ </font>
<font color="#009900">+ # HERE indicates where this Makefile lives.  This can be used to indicate</font>
<font color="#009900">+ # where sub-Makefiles are expected to be.  Currently has very limited usage,</font>
<font color="#009900">+@@ -26,10 +26,10 @@</font>
<font color="#009900">+ # for, say, /usr/ and yet have everything installed to /tmp/somedir/usr/.</font>
<font color="#009900">+ # Normally it is left empty.</font>
<font color="#009900">+ INSTALL_PREFIX=</font>
<font color="#009900">+-INSTALLTOP=/usr/local/ssl</font>
<font color="#009900">++INSTALLTOP=/usr</font>
<font color="#009900">+ </font>
<font color="#009900">+ # Do not edit this manually. Use Configure --openssldir=DIR do change this!</font>
<font color="#009900">+-OPENSSLDIR=/usr/local/ssl</font>
<font color="#009900">++OPENSSLDIR=/usr/lib/ssl</font>
<font color="#009900">+ </font>
<font color="#009900">+ # NO_IDEA - Define to build without the IDEA algorithm</font>
<font color="#009900">+ # NO_RC4  - Define to build without the RC4 algorithm</font>
<font color="#009900">+@@ -59,11 +59,11 @@</font>
<font color="#009900">+ # equal 4.</font>
<font color="#009900">+ # PKCS1_CHECK - pkcs1 tests.</font>
<font color="#009900">+ </font>
<font color="#009900">+-CC= cc</font>
<font color="#009900">+-CFLAG= -O</font>
<font color="#009900">+-DEPFLAG= -DOPENSSL_NO_CAMELLIA -DOPENSSL_NO_GMP -DOPENSSL_NO_MDC2 -DOPENSSL_NO_RC5 -DOPENSSL_NO_RFC3779 -DOPENSSL_NO_SEED -DOPENSSL_NO_TLSEXT </font>
<font color="#009900">++CC= gcc</font>
<font color="#009900">++CFLAG= -DZLIB -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -m64 -DL_ENDIAN -DTERMIO -O3 -Wa,--noexecstack -g -Wall -DMD32_REG_T=int -DMD5_ASM</font>
<font color="#009900">++DEPFLAG= -DOPENSSL_NO_CAMELLIA -DOPENSSL_NO_GMP -DOPENSSL_NO_IDEA -DOPENSSL_NO_MDC2 -DOPENSSL_NO_RC5 -DOPENSSL_NO_RFC3779 -DOPENSSL_NO_SEED </font>
<font color="#009900">+ PEX_LIBS= </font>
<font color="#009900">+-EX_LIBS= </font>
<font color="#009900">++EX_LIBS= -ldl -lz</font>
<font color="#009900">+ EXE_EXT= </font>
<font color="#009900">+ ARFLAGS= </font>
<font color="#009900">+ AR=ar $(ARFLAGS) r</font>
<font color="#009900">+@@ -71,7 +71,7 @@</font>
<font color="#009900">+ PERL= /usr/bin/perl</font>
<font color="#009900">+ TAR= tar</font>
<font color="#009900">+ TARFLAGS= --no-recursion</font>
<font color="#009900">+-MAKEDEPPROG=makedepend</font>
<font color="#009900">++MAKEDEPPROG= gcc</font>
<font color="#009900">+ </font>
<font color="#009900">+ # We let the C compiler driver to take care of .s files. This is done in</font>
<font color="#009900">+ # order to be excused from maintaining a separate set of architecture</font>
<font color="#009900">+@@ -86,15 +86,15 @@</font>
<font color="#009900">+ PROCESSOR= </font>
<font color="#009900">+ </font>
<font color="#009900">+ # CPUID module collects small commonly used assembler snippets</font>
<font color="#009900">+-CPUID_OBJ= </font>
<font color="#009900">+-BN_ASM= bn_asm.o</font>
<font color="#009900">++CPUID_OBJ= x86_64cpuid.o</font>
<font color="#009900">++BN_ASM= x86_64-gcc.o</font>
<font color="#009900">+ DES_ENC= des_enc.o fcrypt_b.o</font>
<font color="#009900">+ AES_ASM_OBJ= aes_core.o aes_cbc.o</font>
<font color="#009900">+ BF_ENC= bf_enc.o</font>
<font color="#009900">+ CAST_ENC= c_enc.o</font>
<font color="#009900">+ RC4_ENC= rc4_enc.o</font>
<font color="#009900">+ RC5_ENC= rc5_enc.o</font>
<font color="#009900">+-MD5_ASM_OBJ= </font>
<font color="#009900">++MD5_ASM_OBJ= md5-x86_64.o</font>
<font color="#009900">+ SHA1_ASM_OBJ= </font>
<font color="#009900">+ RMD160_ASM_OBJ= </font>
<font color="#009900">+ </font>
<font color="#009900">+@@ -106,14 +106,14 @@</font>
<font color="#009900">+ ZLIB_INCLUDE=</font>
<font color="#009900">+ LIBZLIB=</font>
<font color="#009900">+ </font>
<font color="#009900">+-DIRS=   crypto ssl engines apps test tools</font>
<font color="#009900">++DIRS=   crypto ssl engines apps tools</font>
<font color="#009900">+ SHLIBDIRS= crypto ssl</font>
<font color="#009900">+ </font>
<font color="#009900">+ # dirs in crypto to build</font>
<font color="#009900">+ SDIRS=  \</font>
<font color="#009900">+         objects \</font>
<font color="#009900">+         md2 md4 md5 sha hmac ripemd \</font>
<font color="#009900">+-        des aes rc2 rc4 idea bf cast \</font>
<font color="#009900">++        des aes rc2 rc4 bf cast \</font>
<font color="#009900">+         bn ec rsa dsa ecdsa dh ecdh dso engine \</font>
<font color="#009900">+         buffer bio stack lhash rand err \</font>
<font color="#009900">+         evp asn1 pem x509 x509v3 conf txt_db pkcs7 pkcs12 comp ocsp ui krb5 \</font>
<font color="#009900">+@@ -127,10 +127,11 @@</font>
<font color="#009900">+ </font>
<font color="#009900">+ MAKEFILE= Makefile</font>
<font color="#009900">+ </font>
<font color="#009900">+-MANDIR=$(OPENSSLDIR)/man</font>
<font color="#009900">++MANDIR=/usr/share/man</font>
<font color="#009900">+ MAN1=1</font>
<font color="#009900">+ MAN3=3</font>
<font color="#009900">+-MANSUFFIX=</font>
<font color="#009900">++MANSUFFIX=ssl</font>
<font color="#009900">++MANSECTION=SSL</font>
<font color="#009900">+ SHELL=/bin/sh</font>
<font color="#009900">+ </font>
<font color="#009900">+ TOP=    .</font>
<font color="#009900">+@@ -141,8 +142,8 @@</font>
<font color="#009900">+ SHARED_CRYPTO=libcrypto$(SHLIB_EXT)</font>
<font color="#009900">+ SHARED_SSL=libssl$(SHLIB_EXT)</font>
<font color="#009900">+ SHARED_LIBS=</font>
<font color="#009900">+-SHARED_LIBS_LINK_EXTS=</font>
<font color="#009900">+-SHARED_LDFLAGS=</font>
<font color="#009900">++SHARED_LIBS_LINK_EXTS=.so</font>
<font color="#009900">++SHARED_LDFLAGS=-m64 -Wl,--version-script=openssl.ld</font>
<font color="#009900">+ </font>
<font color="#009900">+ GENERAL=        Makefile</font>
<font color="#009900">+ BASENAME=       openssl</font>
<font color="#009900">+@@ -310,7 +311,8 @@</font>
<font color="#009900">+             echo 'Description: OpenSSL cryptography library'; \</font>
<font color="#009900">+             echo 'Version: '$(VERSION); \</font>
<font color="#009900">+             echo 'Requires: '; \</font>
<font color="#009900">+-            echo 'Libs: -L$${libdir} -lcrypto $(EX_LIBS)'; \</font>
<font color="#009900">++            echo 'Libs: -L$${libdir} -lcrypto'; \</font>
<font color="#009900">++            echo 'Libs.private: $(EX_LIBS)'; \</font>
<font color="#009900">+             echo 'Cflags: -I$${includedir} $(KRB5_INCLUDES)' ) &gt; libcrypto.pc</font>
<font color="#009900">+ </font>
<font color="#009900">+ libssl.pc: Makefile</font>
<font color="#009900">+@@ -323,7 +325,8 @@</font>
<font color="#009900">+             echo 'Description: Secure Sockets Layer and cryptography libraries'; \</font>
<font color="#009900">+             echo 'Version: '$(VERSION); \</font>
<font color="#009900">+             echo 'Requires: '; \</font>
<font color="#009900">+-            echo 'Libs: -L$${libdir} -lssl -lcrypto $(EX_LIBS)'; \</font>
<font color="#009900">++            echo 'Libs: -L$${libdir} -lssl'; \</font>
<font color="#009900">++            echo 'Libs.private: -lcrypto $(EX_LIBS)'; \</font>
<font color="#009900">+             echo 'Cflags: -I$${includedir} $(KRB5_INCLUDES)' ) &gt; libssl.pc</font>
<font color="#009900">+ </font>
<font color="#009900">+ openssl.pc: Makefile</font>
<font color="#009900">+@@ -336,7 +339,8 @@</font>
<font color="#009900">+             echo 'Description: Secure Sockets Layer and cryptography libraries and tools'; \</font>
<font color="#009900">+             echo 'Version: '$(VERSION); \</font>
<font color="#009900">+             echo 'Requires: '; \</font>
<font color="#009900">+-            echo 'Libs: -L$${libdir} -lssl -lcrypto $(EX_LIBS)'; \</font>
<font color="#009900">++            echo 'Libs: -L$${libdir} -lssl -lcrypto'; \</font>
<font color="#009900">++            echo 'Libs.private: $(EX_LIBS)'; \</font>
<font color="#009900">+             echo 'Cflags: -I$${includedir} $(KRB5_INCLUDES)' ) &gt; openssl.pc</font>
<font color="#009900">+ </font>
<font color="#009900">+ Makefile: Makefile.org Configure config</font>
<font color="#009900">+@@ -480,7 +484,7 @@</font>
<font color="#009900">+ install_sw:</font>
<font color="#009900">+         @$(PERL) $(TOP)/util/mkdir-p.pl $(INSTALL_PREFIX)$(INSTALLTOP)/bin \</font>
<font color="#009900">+                 $(INSTALL_PREFIX)$(INSTALLTOP)/lib \</font>
<font color="#009900">+-                $(INSTALL_PREFIX)$(INSTALLTOP)/lib/engines \</font>
<font color="#009900">++                $(INSTALL_PREFIX)$(INSTALLTOP)/lib/ssl/engines \</font>
<font color="#009900">+                 $(INSTALL_PREFIX)$(INSTALLTOP)/lib/pkgconfig \</font>
<font color="#009900">+                 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl \</font>
<font color="#009900">+                 $(INSTALL_PREFIX)$(OPENSSLDIR)/misc \</font>
<font color="#009900">+@@ -558,7 +562,7 @@</font>
<font color="#009900">+                 echo "installing man$$sec/$$fn.$${sec}$(MANSUFFIX)"; \</font>
<font color="#009900">+                 (cd `$(PERL) util/dirname.pl $$i`; \</font>
<font color="#009900">+                 sh -c "$$pod2man \</font>
<font color="#009900">+-                        --section=$$sec --center=OpenSSL \</font>
<font color="#009900">++                        --section=$${sec}$(MANSECTION) --center=OpenSSL \</font>
<font color="#009900">+                         --release=$(VERSION) `basename $$i`") \</font>
<font color="#009900">+                         &gt;  $(INSTALL_PREFIX)$(MANDIR)/man$$sec/$$fn.$${sec}$(MANSUFFIX); \</font>
<font color="#009900">+                 $(PERL) util/extract-names.pl &lt; $$i | \</font>
<font color="#009900">+@@ -575,7 +579,7 @@</font>
<font color="#009900">+                 echo "installing man$$sec/$$fn.$${sec}$(MANSUFFIX)"; \</font>
<font color="#009900">+                 (cd `$(PERL) util/dirname.pl $$i`; \</font>
<font color="#009900">+                 sh -c "$$pod2man \</font>
<font color="#009900">+-                        --section=$$sec --center=OpenSSL \</font>
<font color="#009900">++                        --section=$${sec}$(MANSECTION) --center=OpenSSL \</font>
<font color="#009900">+                         --release=$(VERSION) `basename $$i`") \</font>
<font color="#009900">+                         &gt;  $(INSTALL_PREFIX)$(MANDIR)/man$$sec/$$fn.$${sec}$(MANSUFFIX); \</font>
<font color="#009900">+                 $(PERL) util/extract-names.pl &lt; $$i | \</font>
<font color="#009900">+--- openssl-0.9.8g.orig/VMS/VMSify-conf.pl</font>
<font color="#009900">++++ openssl-0.9.8g/VMS/VMSify-conf.pl</font>
<font color="#009900">+@@ -1,4 +1,4 @@</font>
<font color="#009900">+-#! /usr/bin/perl</font>
<font color="#009900">++#!/usr/local/bin/perl</font>
<font color="#009900">+ </font>
<font color="#009900">+ use strict;</font>
<font color="#009900">+ use warnings;</font>
<font color="#009900">+--- openssl-0.9.8g.orig/Netware/do_tests.pl</font>
<font color="#009900">++++ openssl-0.9.8g/Netware/do_tests.pl</font>
<font color="#009900">+@@ -1,4 +1,4 @@</font>
<font color="#009900">+-# perl script to run OpenSSL tests</font>
<font color="#009900">++#!/usr/local/bin/perl</font>
<font color="#009900">+ </font>
<font color="#009900">+ </font>
<font color="#009900">+ my $base_path      = "\\openssl";</font>
<font color="#009900">+--- openssl-0.9.8g.orig/apps/CA.sh</font>
<font color="#009900">++++ openssl-0.9.8g/apps/CA.sh</font>
<font color="#009900">+@@ -91,6 +91,7 @@</font>
<font color="#009900">+                            -out ${CATOP}/$CAREQ</font>
<font color="#009900">+             $CA -out ${CATOP}/$CACERT $CADAYS -batch \</font>
<font color="#009900">+                            -keyfile ${CATOP}/private/$CAKEY -selfsign \</font>
<font color="#009900">++                           -extensions v3_ca \</font>
<font color="#009900">+                            -infiles ${CATOP}/$CAREQ </font>
<font color="#009900">+             RET=$?</font>
<font color="#009900">+         fi</font>
<font color="#009900">+--- openssl-0.9.8g.orig/apps/CA.pl.in</font>
<font color="#009900">++++ openssl-0.9.8g/apps/CA.pl.in</font>
<font color="#009900">+@@ -65,6 +65,7 @@</font>
<font color="#009900">+ foreach (@ARGV) {</font>
<font color="#009900">+         if ( /^(-\?|-h|-help)$/ ) {</font>
<font color="#009900">+             print STDERR "usage: CA -newcert|-newreq|-newreq-nodes|-newca|-sign|-verify\n";</font>
<font color="#009900">++            print STDERR "usage: CA -signcert certfile keyfile|-newcert|-newreq|-newca|-sign|-verify\n";</font>
<font color="#009900">+             exit 0;</font>
<font color="#009900">+         } elsif (/^-newcert$/) {</font>
<font color="#009900">+             # create a certificate</font>
<font color="#009900">+@@ -165,6 +166,7 @@</font>
<font color="#009900">+         } else {</font>
<font color="#009900">+             print STDERR "Unknown arg $_\n";</font>
<font color="#009900">+             print STDERR "usage: CA -newcert|-newreq|-newreq-nodes|-newca|-sign|-verify\n";</font>
<font color="#009900">++            print STDERR "usage: CA -signcert certfile keyfile|-newcert|-newreq|-newca|-sign|-verify\n";</font>
<font color="#009900">+             exit 1;</font>
<font color="#009900">+         }</font>
<font color="#009900">+ }</font>
<font color="#009900">+--- openssl-0.9.8g.orig/apps/speed.c</font>
<font color="#009900">++++ openssl-0.9.8g/apps/speed.c</font>
<font color="#009900">+@@ -577,7 +577,7 @@</font>
<font color="#009900">+ #define MAX_BLOCK_SIZE 64</font>
<font color="#009900">+ #endif</font>
<font color="#009900">+         unsigned char DES_iv[8];</font>
<font color="#009900">+-        unsigned char iv[MAX_BLOCK_SIZE/8];</font>
<font color="#009900">++        unsigned char iv[2*MAX_BLOCK_SIZE/8];</font>
<font color="#009900">+ #ifndef OPENSSL_NO_DES</font>
<font color="#009900">+         DES_cblock *buf_as_des_cblock = NULL;</font>
<font color="#009900">+         static DES_cblock key ={0x12,0x34,0x56,0x78,0x9a,0xbc,0xde,0xf0};</font>
<font color="#009900">+--- openssl-0.9.8g.orig/apps/CA.pl</font>
<font color="#009900">++++ openssl-0.9.8g/apps/CA.pl</font>
<font color="#009900">+@@ -1,4 +1,4 @@</font>
<font color="#009900">+-#!/usr/bin/perl</font>
<font color="#009900">++#!/usr/local/bin/perl</font>
<font color="#009900">+ #</font>
<font color="#009900">+ # CA - wrapper around ca to make it easier to use ... basically ca requires</font>
<font color="#009900">+ #      some setup stuff to be done before you can use it and this makes</font>
<font color="#009900">+@@ -65,6 +65,7 @@</font>
<font color="#009900">+ foreach (@ARGV) {</font>
<font color="#009900">+         if ( /^(-\?|-h|-help)$/ ) {</font>
<font color="#009900">+             print STDERR "usage: CA -newcert|-newreq|-newreq-nodes|-newca|-sign|-verify\n";</font>
<font color="#009900">++            print STDERR "usage: CA -signcert certfile keyfile|-newcert|-newreq|-newca|-sign|-verify\n";</font>
<font color="#009900">+             exit 0;</font>
<font color="#009900">+         } elsif (/^-newcert$/) {</font>
<font color="#009900">+             # create a certificate</font>
<font color="#009900">+@@ -165,6 +166,7 @@</font>
<font color="#009900">+         } else {</font>
<font color="#009900">+             print STDERR "Unknown arg $_\n";</font>
<font color="#009900">+             print STDERR "usage: CA -newcert|-newreq|-newreq-nodes|-newca|-sign|-verify\n";</font>
<font color="#009900">++            print STDERR "usage: CA -signcert certfile keyfile|-newcert|-newreq|-newca|-sign|-verify\n";</font>
<font color="#009900">+             exit 1;</font>
<font color="#009900">+         }</font>
<font color="#009900">+ }</font>
<font color="#009900">+--- openssl-0.9.8g.orig/os2/backwardify.pl</font>
<font color="#009900">++++ openssl-0.9.8g/os2/backwardify.pl</font>
<font color="#009900">+@@ -1,4 +1,4 @@</font>
<font color="#009900">+-#!/usr/bin/perl -w</font>
<font color="#009900">++#!/usr/local/bin/perl</font>
<font color="#009900">+ use strict;</font>
<font color="#009900">+ </font>
<font color="#009900">+ # Use as $0</font>
<font color="#009900">+--- openssl-0.9.8g.orig/Configure</font>
<font color="#009900">++++ openssl-0.9.8g/Configure</font>
<font color="#009900">+@@ -1,4 +1,4 @@</font>
<font color="#009900">+-:</font>
<font color="#009900">++#!/usr/local/bin/perl</font>
<font color="#009900">+ eval 'exec perl -S $0 ${1+"$@"}'</font>
<font color="#009900">+     if $running_under_some_shell;</font>
<font color="#009900">+ ##</font>
<font color="#009900">+@@ -118,7 +118,8 @@</font>
<font color="#009900">+ my $x86_coff_asm="x86cpuid-cof.o:bn86-cof.o co86-cof.o:dx86-cof.o yx86-cof.o:ax86-cof.o:bx86-cof.o:mx86-cof.o:sx86-cof.o s512sse2-cof.o:cx86-cof.o:rx86-cof.o:rm86-cof.o:r586-cof.o";</font>
<font color="#009900">+ my $x86_out_asm="x86cpuid-out.o:bn86-out.o co86-out.o:dx86-out.o yx86-out.o:ax86-out.o:bx86-out.o:mx86-out.o:sx86-out.o s512sse2-out.o:cx86-out.o:rx86-out.o:rm86-out.o:r586-out.o";</font>
<font color="#009900">+ </font>
<font color="#009900">+-my $x86_64_asm="x86_64cpuid.o:x86_64-gcc.o::::md5-x86_64.o:::rc4-x86_64.o::";</font>
<font color="#009900">++#my $x86_64_asm="x86_64cpuid.o:x86_64-gcc.o::::md5-x86_64.o:::rc4-x86_64.o::";</font>
<font color="#009900">++my $x86_64_asm="x86_64cpuid.o:x86_64-gcc.o::::md5-x86_64.o:::::";</font>
<font color="#009900">+ my $ia64_asm=":bn-ia64.o::aes_core.o aes_cbc.o aes-ia64.o:::sha1-ia64.o sha256-ia64.o sha512-ia64.o::rc4-ia64.o::";</font>
<font color="#009900">+ </font>
<font color="#009900">+ my $no_asm="::::::::::";</font>
<font color="#009900">+@@ -308,6 +309,47 @@</font>
<font color="#009900">+ "osf1-alpha-cc",  "cc:-std1 -tune host -O4 -readonly_strings::(unknown):::SIXTY_FOUR_BIT_LONG RC4_CHUNK:${no_asm}:dlfcn:alpha-osf1-shared:::.so",</font>
<font color="#009900">+ "tru64-alpha-cc", "cc:-std1 -tune host -fast -readonly_strings::-pthread:::SIXTY_FOUR_BIT_LONG RC4_CHUNK:${no_asm}:dlfcn:alpha-osf1-shared::-msym:.so",</font>
<font color="#009900">+ </font>
<font color="#009900">++# Debian GNU/* (various architectures)</font>
<font color="#009900">++"debian-alpha","gcc:-DTERMIO -O3 -Wa,--noexecstack -g -Wall::-D_REENTRANT::-ldl:SIXTY_FOUR_BIT_LONG RC4_CHUNK DES_RISC1 DES_UNROLL:${no_asm}:dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)",</font>
<font color="#009900">++"debian-alpha-ev4","gcc:-DTERMIO -O3 -Wa,--noexecstack -mcpu=ev4 -g -Wall::-D_REENTRANT::-ldl:SIXTY_FOUR_BIT_LONG RC4_CHUNK DES_RISC1 DES_UNROLL:${no_asm}:dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)",</font>
<font color="#009900">++"debian-alpha-ev5","gcc:-DTERMIO -O3 -Wa,--noexecstack -mcpu=ev5 -g -Wall::-D_REENTRANT::-ldl:SIXTY_FOUR_BIT_LONG RC4_CHUNK DES_RISC1 DES_UNROLL:${no_asm}:dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)",</font>
<font color="#009900">++"debian-arm","gcc:-DL_ENDIAN -DTERMIO -O2 -Wa,--noexecstack -g -Wall::-D_REENTRANT::-ldl:BN_LLONG DES_RISC1::::::::::::dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)",</font>
<font color="#009900">++"debian-armeb","gcc:-DB_ENDIAN -DTERMIO -O2 -Wa,--noexecstack -g -Wall::-D_REENTRANT::-ldl:BN_LLONG DES_RISC1::::::::::::dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)",</font>
<font color="#009900">++"debian-armel","gcc:-DL_ENDIAN -DTERMIO -O2 -Wa,--noexecstack -g -Wall::-D_REENTRANT::-ldl:BN_LLONG DES_RISC1::::::::::::dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)",</font>
<font color="#009900">++#"debian-amd64","gcc:-DL_ENDIAN -DTERMIO -O3 -Wa,--noexecstack -fomit-frame-pointer -Wall::-D_REENTRANT::-ldl:BN_LLONG ${x86_gcc_des} ${x86_gcc_opts}::::::::::::dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)",</font>
<font color="#009900">++"debian-amd64", "gcc:-m64 -DL_ENDIAN -DTERMIO -O3 -Wa,--noexecstack -g -Wall -DMD32_REG_T=int::-D_REENTRANT::-ldl:SIXTY_FOUR_BIT_LONG RC4_CHUNK RC4_CHAR BF_PTR2 DES_INT DES_UNROLL:${x86_64_asm}:dlfcn:linux-shared:-fPIC:-m64:.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)",</font>
<font color="#009900">++"debian-kfreebsd-amd64","gcc:-m64 -DL_ENDIAN -DTERMIOS -O3 -Wa,--noexecstack -Wall -DMD32_REG_T=int::-D_REENTRANT::-ldl:SIXTY_FOUR_BIT_LONG RC4_CHUNK BF_PTR2 DES_INT DES_UNROLL:${x86_64_asm}:dlfcn:linux-shared:-fPIC:-m64:.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)",</font>
<font color="#009900">++#"debian-freebsd-alpha","gcc:-DTERMIOS -O -Wa,--noexecstack -fomit-frame-pointer::(unknown):::SIXTY_FOUR_BIT_LONG RC4_CHUNK DES_INT DES_PTR DES_RISC2::::::::::dlfcn:bsd-gcc-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)",</font>
<font color="#009900">++"debian-kfreebsd-i386","gcc:-DL_ENDIAN -DTERMIOS -O3 -Wa,--noexecstack -g -m486 -Wall::-D_REENTRANT::-ldl:BN_LLONG ${x86_gcc_des} ${x86_gcc_opts}:${x86_elf_asm}:dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)",</font>
<font color="#009900">++"debian-hppa","gcc:-DB_ENDIAN -DTERMIO -O2 -Wa,--noexecstack -g -Wall::-D_REENTRANT::-ldl:BN_LLONG MD2_CHAR RC4_INDEX::::::::::::dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)",</font>
<font color="#009900">++"debian-hurd-i386","gcc:-DL_ENDIAN -DTERMIOS -O3 -Wa,--noexecstack -g -m486 -Wall::-D_REENTRANT::-ldl:BN_LLONG ${x86_gcc_des} ${x86_gcc_opts}:${x86_elf_asm}:dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)",</font>
<font color="#009900">++"debian-ia64","gcc:-DTERMIO -O3 -Wa,--noexecstack -g -Wall::-D_REENTRANT::-ldl:SIXTY_FOUR_BIT_LONG RC4_CHUNK RC4_CHAR:${ia64_asm}:dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)",</font>
<font color="#009900">++#"debian-i386","gcc:-DL_ENDIAN -DTERMIO -O3 -Wa,--noexecstack -fomit-frame-pointer -m486 -Wall::-D_REENTRANT::-ldl:BN_LLONG ${x86_gcc_des} ${x86_gcc_opts}::::::::::dlfcn:linux-shared:-fPIC",</font>
<font color="#009900">++"debian-i386","gcc:-DL_ENDIAN -DTERMIO -O3 -Wa,--noexecstack -g -Wall::-D_REENTRANT::-ldl:BN_LLONG ${x86_gcc_des} ${x86_gcc_opts}::::::::::::dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)",</font>
<font color="#009900">++"debian-i386-i486","gcc:-DL_ENDIAN -DTERMIO -O3 -march=i486 -Wa,--noexecstack -g -Wall::-D_REENTRANT::-ldl:BN_LLONG ${x86_gcc_des} ${x86_gcc_opts}:${x86_elf_asm}:dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)",</font>
<font color="#009900">++"debian-i386-i586","gcc:-DL_ENDIAN -DTERMIO -O3 -march=i586 -Wa,--noexecstack -g -Wall::-D_REENTRANT::-ldl:BN_LLONG ${x86_gcc_des} ${x86_gcc_opts}:${x86_elf_asm}:dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)",</font>
<font color="#009900">++"debian-i386-i686/cmov","gcc:-DL_ENDIAN -DTERMIO -O3 -march=i686 -Wa,--noexecstack -g -Wall::-D_REENTRANT::-ldl:BN_LLONG ${x86_gcc_des} ${x86_gcc_opts}:${x86_elf_asm}:dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)",</font>
<font color="#009900">++"debian-m68k","gcc:-DB_ENDIAN -DTERMIO -O2 -Wa,--noexecstack -g -Wall::-D_REENTRANT::-ldl:BN_LLONG MD2_CHAR RC4_INDEX::::::::::::dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)",</font>
<font color="#009900">++"debian-mips",   "gcc:-DB_ENDIAN -DTERMIO -O3 -Wa,--noexecstack -g -Wall::-D_REENTRANT::-ldl:BN_LLONG RC2_CHAR RC4_INDEX DES_INT DES_UNROLL DES_RISC2::::::::::::dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)",</font>
<font color="#009900">++"debian-mipsel",   "gcc:-DL_ENDIAN -DTERMIO -O3 -Wa,--noexecstack -g -Wall::-D_REENTRANT::-ldl:BN_LLONG RC2_CHAR RC4_INDEX DES_INT DES_UNROLL DES_RISC2::::::::::::dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)",</font>
<font color="#009900">++"debian-netbsd-i386",        "gcc:-DL_ENDIAN -DTERMIOS -O3 -Wa,--noexecstack -g -m486 -Wall::(unknown):::BN_LLONG ${x86_gcc_des} ${x86_gcc_opts}::::::::::::dlfcn:bsd-gcc-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)",</font>
<font color="#009900">++"debian-netbsd-m68k",        "gcc:-DB_ENDIAN -DTERMIOS -O3 -Wa,--noexecstack -g -Wall::(unknown):::BN_LLONG MD2_CHAR RC4_INDEX DES_UNROLL::::::::::::dlfcn:bsd-gcc-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)",</font>
<font color="#009900">++"debian-netbsd-sparc",        "gcc:-DB_ENDIAN -DTERMIOS -O3 -Wa,--noexecstack -g -mv8 -Wall::(unknown):::BN_LLONG MD2_CHAR RC4_INDEX DES_UNROLL::::::::::::dlfcn:bsd-gcc-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)",</font>
<font color="#009900">++"debian-openbsd-alpha","gcc:-DTERMIOS -O3 -Wa,--noexecstack -g::(unknown):::SIXTY_FOUR_BIT_LONG DES_INT DES_PTR DES_RISC2::::::::::::dlfcn:bsd-gcc-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)",</font>
<font color="#009900">++"debian-openbsd-i386",  "gcc:-DL_ENDIAN -DTERMIOS -O3 -Wa,--noexecstack -g -m486::(unknown):::BN_LLONG ${x86_gcc_des} ${x86_gcc_opts}:${x86_out_asm}:dlfcn:bsd-gcc-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)",</font>
<font color="#009900">++"debian-openbsd-mips","gcc:-O2 -Wa,--noexecstack -g -DL_ENDIAN::(unknown)::BN_LLONG MD2_CHAR RC4_INDEX RC4_CHAR DES_UNROLL DES_RISC2 DES_PTR BF_PTR:::::::::::::dlfcn:bsd-gcc-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)",</font>
<font color="#009900">++"debian-powerpc","gcc:-DB_ENDIAN -DTERMIO -O3 -Wa,--noexecstack -g -Wall::-D_REENTRANT::-ldl:BN_LLONG DES_UNROLL DES_RISC2 DES_PTR MD2_CHAR RC4_INDEX::linux_ppc32.o::::::::::dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)",</font>
<font color="#009900">++"debian-ppc64","gcc:-m64 -DB_ENDIAN -DTERMIO -O3 -Wa,--noexecstack -g -Wall::-D_REENTRANT::-ldl:SIXTY_FOUR_BIT_LONG RC4_CHAR RC4_CHUNK DES_RISC1 DES_UNROLL::linux_ppc64.o::::::::::dlfcn:linux-shared:-fPIC:-m64:.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)",</font>
<font color="#009900">++"debian-s390","gcc:-DB_ENDIAN -DTERMIO -O3 -Wa,--noexecstack -g -Wall::-D_REENTRANT::-ldl:BN_LLONG::::::::::::dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", </font>
<font color="#009900">++"debian-sh3",   "gcc:-DL_ENDIAN -DTERMIO -O3 -Wa,--noexecstack -g -Wall::-D_REENTRANT::-ldl:BN_LLONG::::::::::::dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)",</font>
<font color="#009900">++"debian-sh4",   "gcc:-DL_ENDIAN -DTERMIO -O3 -Wa,--noexecstack -g -Wall::-D_REENTRANT::-ldl:BN_LLONG::::::::::::dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)",</font>
<font color="#009900">++"debian-sh3eb",   "gcc:-DB_ENDIAN -DTERMIO -O3 -Wa,--noexecstack -g -Wall::-D_REENTRANT::-ldl:BN_LLONG::::::::::::dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)",</font>
<font color="#009900">++"debian-sh4eb",   "gcc:-DB_ENDIAN -DTERMIO -O3 -Wa,--noexecstack -g -Wall::-D_REENTRANT::-ldl:BN_LLONG::::::::::::dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)",</font>
<font color="#009900">++"debian-m32r","gcc:-DB_ENDIAN -DTERMIO -O3 -Wa,--noexecstack -g -Wall::-D_REENTRANT::-ldl:BN_LLONG::::::::::::dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)",</font>
<font color="#009900">++"debian-sparc","gcc:-DB_ENDIAN -DTERMIO -O3 -Wa,--noexecstack -g -Wall::-D_REENTRANT::-ldl:BN_LLONG RC4_CHAR RC4_CHUNK DES_UNROLL BF_PTR::::::::::::dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)",</font>
<font color="#009900">++"debian-sparc-v8","gcc:-DB_ENDIAN -DTERMIO -O3 -Wa,--noexecstack -mcpu=v8 -g -Wall -DBN_DIV2W::-D_REENTRANT::-ldl:BN_LLONG RC4_CHAR RC4_CHUNK DES_UNROLL BF_PTR::sparcv8.o:des_enc-sparc.o fcrypt_b.o:::::::::dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)",</font>
<font color="#009900">++"debian-sparc-v9","gcc:-DB_ENDIAN -DTERMIO -O3 -mcpu=v9 -Wa,--noexecstack -Wa,-Av8plus -g -Wall -DULTRASPARC -DBN_DIV2W::-D_REENTRANT::-ldl:BN_LLONG RC4_CHAR RC4_CHUNK DES_UNROLL BF_PTR::sparcv8plus.o:des_enc-sparc.o fcrypt_b.o:::md5-sparcv8plus.o::::::dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)",</font>
<font color="#009900">++</font>
<font color="#009900">+ ####</font>
<font color="#009900">+ #### Variety of LINUX:-)</font>
<font color="#009900">+ ####</font>
<font color="#009900">+@@ -476,7 +518,7 @@</font>
<font color="#009900">+ # Cygwin</font>
<font color="#009900">+ "Cygwin-pre1.3", "gcc:-DTERMIOS -DL_ENDIAN -fomit-frame-pointer -O3 -m486 -Wall::(unknown):CYGWIN32::BN_LLONG ${x86_gcc_des} ${x86_gcc_opts}:${no_asm}:win32",</font>
<font color="#009900">+ "Cygwin", "gcc:-DTERMIOS -DL_ENDIAN -fomit-frame-pointer -O3 -march=i486 -Wall:::CYGWIN32::BN_LLONG ${x86_gcc_des} ${x86_gcc_opts}:${x86_coff_asm}:dlfcn:cygwin-shared:-D_WINDLL:-shared:.dll.a",</font>
<font color="#009900">+-"debug-Cygwin", "gcc:-DTERMIOS -DL_ENDIAN -march=i486 -Wall -DBN_DEBUG -DREF_CHECK -DCONF_DEBUG -DCRYPTO_MDEBUG -DOPENSSL_NO_ASM -g -Wformat -Wshadow -Wmissing-prototypes -Wmissing-declarations -Werror:::CYGWIN32:::${no_asm}:dlfcn:cygwin-shared:-D_WINDLL:-shared:.dll.a",</font>
<font color="#009900">++-"debug-Cygwin", "gcc:-DTERMIOS -DL_ENDIAN -march=i486 -Wall -DBN_DEBUG -DREF_CHECK -DCONF_DEBUG -DCRYPTO_MDEBUG -DOPENSSL_NO_ASM -g -Wformat -Wshadow -Wmissing-prototypes -Wmissing-declarations -Werror:::CYGWIN32:::${no_asm}:dlfcn:cygwin-shared:-D_WINDLL:-shared:.dll.a",</font>
<font color="#009900">+ </font>
<font color="#009900">+ # NetWare from David Ward (dsward@novell.com) - requires MetroWerks NLM development tools</font>
<font color="#009900">+ # netware-clib =&gt; legacy CLib c-runtime support</font>
<font color="#009900">+@@ -1300,6 +1342,8 @@</font>
<font color="#009900">+         $shlib_minor=$2;</font>
<font color="#009900">+         }</font>
<font color="#009900">+ </font>
<font color="#009900">++$shared_ldflag .= " -Wl,--version-script=openssl.ld";</font>
<font color="#009900">++</font>
<font color="#009900">+ open(IN,'&lt;Makefile.org') || die "unable to read Makefile.org:$!\n";</font>
<font color="#009900">+ unlink("$Makefile.new") || die "unable to remove old $Makefile.new:$!\n" if -e "$Makefile.new";</font>
<font color="#009900">+ open(OUT,"&gt;$Makefile.new") || die "unable to create $Makefile.new:$!\n";</font>
<font color="#009900">+@@ -1371,7 +1415,8 @@</font>
<font color="#009900">+         elsif ($shared_extension ne "" &amp;&amp; $shared_extension =~ /^\.s([ol])\.[^\.]*\.[^\.]*$/)</font>
<font color="#009900">+                 {</font>
<font color="#009900">+                 my $sotmp = $1;</font>
<font color="#009900">+-                s/^SHARED_LIBS_LINK_EXTS=.*/SHARED_LIBS_LINK_EXTS=.s$sotmp.\$(SHLIB_MAJOR) .s$sotmp/;</font>
<font color="#009900">++#                s/^SHARED_LIBS_LINK_EXTS=.*/SHARED_LIBS_LINK_EXTS=.s$sotmp.\$(SHLIB_MAJOR) .s$sotmp/;</font>
<font color="#009900">++                s/^SHARED_LIBS_LINK_EXTS=.*/SHARED_LIBS_LINK_EXTS=.s$sotmp/;</font>
<font color="#009900">+                 }</font>
<font color="#009900">+         elsif ($shared_extension ne "" &amp;&amp; $shared_extension =~ /^\.[^\.]*\.[^\.]*\.dylib$/)</font>
<font color="#009900">+                 {</font>
<font color="#009900">+@@ -1490,7 +1535,7 @@</font>
<font color="#009900">+         if        (/^#define\s+OPENSSLDIR/)</font>
<font color="#009900">+                 { print OUT "#define OPENSSLDIR \"$openssldir\"\n"; }</font>
<font color="#009900">+         elsif        (/^#define\s+ENGINESDIR/)</font>
<font color="#009900">+-                { print OUT "#define ENGINESDIR \"$prefix/lib/engines\"\n"; }</font>
<font color="#009900">++                { print OUT "#define ENGINESDIR \"$prefix/lib/ssl/engines\"\n"; }</font>
<font color="#009900">+         elsif        (/^#((define)|(undef))\s+OPENSSL_EXPORT_VAR_AS_FUNCTION/)</font>
<font color="#009900">+                 { printf OUT "#undef OPENSSL_EXPORT_VAR_AS_FUNCTION\n"</font>
<font color="#009900">+                         if $export_var_as_fn;</font>
<font color="#009900">+--- openssl-0.9.8g.orig/engines/Makefile</font>
<font color="#009900">++++ openssl-0.9.8g/engines/Makefile</font>
<font color="#009900">+@@ -97,13 +97,13 @@</font>
<font color="#009900">+                                 *DSO_DL*)        sfx="sl";;        \</font>
<font color="#009900">+                                 *)                sfx="bad";;        \</font>
<font color="#009900">+                                 esac; \</font>
<font color="#009900">+-                                cp lib$$l.$$sfx $(INSTALL_PREFIX)$(INSTALLTOP)/lib/engines/lib$$l.$$sfx.new; \</font>
<font color="#009900">++                                cp lib$$l.$$sfx $(INSTALL_PREFIX)$(INSTALLTOP)/lib/ssl/engines/lib$$l.$$sfx.new; \</font>
<font color="#009900">+                           else \</font>
<font color="#009900">+                                   sfx="so"; \</font>
<font color="#009900">+                                 cp cyg$$l.dll $(INSTALL_PREFIX)$(INSTALLTOP)/lib/engines/lib$$l.$$sfx.new; \</font>
<font color="#009900">+                           fi; \</font>
<font color="#009900">+-                          chmod 555 $(INSTALL_PREFIX)$(INSTALLTOP)/lib/engines/lib$$l.$$sfx.new; \</font>
<font color="#009900">+-                          mv -f $(INSTALL_PREFIX)$(INSTALLTOP)/lib/engines/lib$$l.$$sfx.new $(INSTALL_PREFIX)$(INSTALLTOP)/lib/engines/lib$$l.$$sfx ); \</font>
<font color="#009900">++                          chmod 555 $(INSTALL_PREFIX)$(INSTALLTOP)/lib/ssl/engines/lib$$l.$$sfx.new; \</font>
<font color="#009900">++                          mv -f $(INSTALL_PREFIX)$(INSTALLTOP)/lib/ssl/engines/lib$$l.$$sfx.new $(INSTALL_PREFIX)$(INSTALLTOP)/lib/ssl/engines/lib$$l.$$sfx ); \</font>
<font color="#009900">+                 done; \</font>
<font color="#009900">+         fi</font>
<font color="#009900">+ </font>
<font color="#009900">+--- openssl-0.9.8g.orig/engines/openssl.ld</font>
<font color="#009900">++++ openssl-0.9.8g/engines/openssl.ld</font>
<font color="#009900">+@@ -0,0 +1,5 @@</font>
<font color="#009900">++OPENSSL_0.9.8 {</font>
<font color="#009900">++         global:</font>
<font color="#009900">++                 *;</font>
<font color="#009900">++};</font>
<font color="#009900">++</font>
<font color="#009900">+--- openssl-0.9.8g.orig/tools/c_rehash</font>
<font color="#009900">++++ openssl-0.9.8g/tools/c_rehash</font>
<font color="#009900">+@@ -6,7 +6,7 @@</font>
<font color="#009900">+ </font>
<font color="#009900">+ my $openssl;</font>
<font color="#009900">+ </font>
<font color="#009900">+-my $dir = "/usr/local/ssl";</font>
<font color="#009900">++my $dir = "/usr/lib/ssl";</font>
<font color="#009900">+ </font>
<font color="#009900">+ if(defined $ENV{OPENSSL}) {</font>
<font color="#009900">+         $openssl = $ENV{OPENSSL};</font>
<font color="#009900">+@@ -59,12 +59,15 @@</font>
<font color="#009900">+                 }</font>
<font color="#009900">+         }</font>
<font color="#009900">+         closedir DIR;</font>
<font color="#009900">+-        FILE: foreach $fname (grep {/\.pem$/} @flist) {</font>
<font color="#009900">++        FILE: foreach $fname (grep {/\.pem$|\.crt$/} @flist) {</font>
<font color="#009900">+                 # Check to see if certificates and/or CRLs present.</font>
<font color="#009900">+                 my ($cert, $crl) = check_file($fname);</font>
<font color="#009900">+                 if(!$cert &amp;&amp; !$crl) {</font>
<font color="#009900">+-                        print STDERR "WARNING: $fname does not contain a certificate or CRL: skipping\n";</font>
<font color="#009900">+-                        next;</font>
<font color="#009900">++                        ($cert, $crl) = check_file("$openssl x509 -in \"$fname\" -inform der  -outform pem | ");</font>
<font color="#009900">++                        if(!$cert &amp;&amp; !$crl) {</font>
<font color="#009900">++                                print STDERR "WARNING: $fname does not contain a certificate or CRL: skipping\n";</font>
<font color="#009900">++                                next;</font>
<font color="#009900">++                        }</font>
<font color="#009900">+                 }</font>
<font color="#009900">+                 link_hash_cert($fname) if($cert);</font>
<font color="#009900">+                 link_hash_crl($fname) if($crl);</font>
<font color="#009900">+@@ -102,6 +105,9 @@</font>
<font color="#009900">+                 my $fname = $_[0];</font>
<font color="#009900">+                 $fname =~ s/'/'\\''/g;</font>
<font color="#009900">+                 my ($hash, $fprint) = `"$openssl" x509 -hash -fingerprint -noout -in '$fname'`;</font>
<font color="#009900">++                if(!$hash || !fprint) {</font>
<font color="#009900">++                        ($hash, $fprint) = `"$openssl" x509 -hash -fingerprint -noout -in '$fname' -inform der`;</font>
<font color="#009900">++                }</font>
<font color="#009900">+                 chomp $hash;</font>
<font color="#009900">+                 chomp $fprint;</font>
<font color="#009900">+                 $fprint =~ s/^.*=//;</font>
<font color="#009900">+--- openssl-0.9.8g.orig/tools/c_rehash.in</font>
<font color="#009900">++++ openssl-0.9.8g/tools/c_rehash.in</font>
<font color="#009900">+@@ -59,12 +59,15 @@</font>
<font color="#009900">+                 }</font>
<font color="#009900">+         }</font>
<font color="#009900">+         closedir DIR;</font>
<font color="#009900">+-        FILE: foreach $fname (grep {/\.pem$/} @flist) {</font>
<font color="#009900">++        FILE: foreach $fname (grep {/\.pem$|\.crt$/} @flist) {</font>
<font color="#009900">+                 # Check to see if certificates and/or CRLs present.</font>
<font color="#009900">+                 my ($cert, $crl) = check_file($fname);</font>
<font color="#009900">+                 if(!$cert &amp;&amp; !$crl) {</font>
<font color="#009900">+-                        print STDERR "WARNING: $fname does not contain a certificate or CRL: skipping\n";</font>
<font color="#009900">+-                        next;</font>
<font color="#009900">++                        ($cert, $crl) = check_file("$openssl x509 -in \"$fname\" -inform der  -outform pem | ");</font>
<font color="#009900">++                        if(!$cert &amp;&amp; !$crl) {</font>
<font color="#009900">++                                print STDERR "WARNING: $fname does not contain a certificate or CRL: skipping\n";</font>
<font color="#009900">++                                next;</font>
<font color="#009900">++                        }</font>
<font color="#009900">+                 }</font>
<font color="#009900">+                 link_hash_cert($fname) if($cert);</font>
<font color="#009900">+                 link_hash_crl($fname) if($crl);</font>
<font color="#009900">+@@ -102,6 +105,9 @@</font>
<font color="#009900">+                 my $fname = $_[0];</font>
<font color="#009900">+                 $fname =~ s/'/'\\''/g;</font>
<font color="#009900">+                 my ($hash, $fprint) = `"$openssl" x509 -hash -fingerprint -noout -in '$fname'`;</font>
<font color="#009900">++                if(!$hash || !fprint) {</font>
<font color="#009900">++                        ($hash, $fprint) = `"$openssl" x509 -hash -fingerprint -noout -in '$fname' -inform der`;</font>
<font color="#009900">++                }</font>
<font color="#009900">+                 chomp $hash;</font>
<font color="#009900">+                 chomp $fprint;</font>
<font color="#009900">+                 $fprint =~ s/^.*=//;</font>
<font color="#009900">+--- openssl-0.9.8g.orig/Makefile.shared</font>
<font color="#009900">++++ openssl-0.9.8g/Makefile.shared</font>
<font color="#009900">+@@ -151,9 +151,9 @@</font>
<font color="#009900">+         SHLIB_SUFFIX=; \</font>
<font color="#009900">+         ALLSYMSFLAGS='-Wl,--whole-archive'; \</font>
<font color="#009900">+         NOALLSYMSFLAGS='-Wl,--no-whole-archive'; \</font>
<font color="#009900">+-        SHAREDFLAGS="$(CFLAGS) $(SHARED_LDFLAGS) -shared -Wl,-Bsymbolic -Wl,-soname=$$SHLIB$$SHLIB_SOVER$$SHLIB_SUFFIX"</font>
<font color="#009900">++        SHAREDFLAGS="$(CFLAGS) $(SHARED_LDFLAGS) -shared -Wl,-soname=$$SHLIB$$SHLIB_SOVER$$SHLIB_SUFFIX"</font>
<font color="#009900">+ </font>
<font color="#009900">+-DO_GNU_APP=LDFLAGS="$(CFLAGS) -Wl,-rpath,$(LIBRPATH)"</font>
<font color="#009900">++DO_GNU_APP=LDFLAGS="$(CFLAGS)"</font>
<font color="#009900">+ </font>
<font color="#009900">+ #This is rather special.  It's a special target with which one can link</font>
<font color="#009900">+ #applications without bothering with any features that have anything to</font>
<font color="#009900">+--- openssl-0.9.8g.orig/ssl/t1_lib.c</font>
<font color="#009900">++++ openssl-0.9.8g/ssl/t1_lib.c</font>
<font color="#009900">+@@ -132,6 +132,10 @@</font>
<font color="#009900">+         int extdatalen=0;</font>
<font color="#009900">+         unsigned char *ret = p;</font>
<font color="#009900">+ </font>
<font color="#009900">++        /* don't add extensions for SSLv3 */</font>
<font color="#009900">++        if (s-&gt;client_version == SSL3_VERSION)</font>
<font color="#009900">++                return p;</font>
<font color="#009900">++</font>
<font color="#009900">+         ret+=2;</font>
<font color="#009900">+ </font>
<font color="#009900">+         if (ret&gt;=limit) return NULL; /* this really never occurs, but ... */</font>
<font color="#009900">+@@ -202,6 +206,10 @@</font>
<font color="#009900">+         int extdatalen=0;</font>
<font color="#009900">+         unsigned char *ret = p;</font>
<font color="#009900">+ </font>
<font color="#009900">++        /* don't add extensions for SSLv3 */</font>
<font color="#009900">++        if (s-&gt;version == SSL3_VERSION)</font>
<font color="#009900">++                return p;</font>
<font color="#009900">++        </font>
<font color="#009900">+         ret+=2;</font>
<font color="#009900">+         if (ret&gt;=limit) return NULL; /* this really never occurs, but ... */</font>
<font color="#009900">+ </font>
<font color="#009900">+--- openssl-0.9.8g.orig/ms/uplink.pl</font>
<font color="#009900">++++ openssl-0.9.8g/ms/uplink.pl</font>
<font color="#009900">+@@ -1,4 +1,4 @@</font>
<font color="#009900">+-#!/usr/bin/env perl</font>
<font color="#009900">++#!/usr/local/bin/perl</font>
<font color="#009900">+ #</font>
<font color="#009900">+ # For Microsoft CL this is implemented as inline assembler. So that</font>
<font color="#009900">+ # even though this script can generate even Win32 code, we'll be</font>
<font color="#009900">+--- openssl-0.9.8g.orig/config</font>
<font color="#009900">++++ openssl-0.9.8g/config</font>
<font color="#009900">+@@ -162,8 +162,8 @@</font>
<font color="#009900">+         echo "${MACHINE}-whatever-linux1"; exit 0</font>
<font color="#009900">+         ;</font>
<font color="#009900">+ </font>
<font color="#009900">+-    GNU*)</font>
<font color="#009900">+-        echo "hurd-x86"; exit 0;</font>
<font color="#009900">++    GNU:*|GNU/*:*)</font>
<font color="#009900">++        echo "${MACHINE}-gnuish"; exit 0;</font>
<font color="#009900">+         ;</font>
<font color="#009900">+ </font>
<font color="#009900">+     LynxOS:*)</font>
<font color="#009900">+--- openssl-0.9.8g.orig/demos/tunala/configure.in</font>
<font color="#009900">++++ openssl-0.9.8g/demos/tunala/configure.in</font>
<font color="#009900">+@@ -1,4 +1,4 @@</font>
<font color="#009900">+-dnl Process this file with autoconf to produce a configure script.</font>
<font color="#009900">++#!/usr/local/bin/perl</font>
<font color="#009900">+ AC_INIT(tunala.c)</font>
<font color="#009900">+ AM_CONFIG_HEADER(config.h)</font>
<font color="#009900">+ AM_INIT_AUTOMAKE(tunala, 0.0.1-dev)</font>
<font color="#009900">+--- openssl-0.9.8g.orig/doc/Makefile</font>
<font color="#009900">++++ openssl-0.9.8g/doc/Makefile</font>
<font color="#009900">+@@ -0,0 +1,40 @@</font>
<font color="#009900">++VERSION =</font>
<font color="#009900">++</font>
<font color="#009900">++#PODS = $(wildcard *.pod)</font>
<font color="#009900">++#MANS = $(addsuffix .man, $(basename $(PODS)))</font>
<font color="#009900">++</font>
<font color="#009900">++MANS = openssl.1 ssl.3 crypto.3</font>
<font color="#009900">++</font>
<font color="#009900">++P2M = pod2man --center='OpenSSL Documentation' --release="OpenSSL $(VERSION)"</font>
<font color="#009900">++</font>
<font color="#009900">++all: manpages</font>
<font color="#009900">++</font>
<font color="#009900">++.PHONY: manpages </font>
<font color="#009900">++</font>
<font color="#009900">++manpages: openssl.1 crypto.3 ssl.3</font>
<font color="#009900">++</font>
<font color="#009900">++openssl.1:</font>
<font color="#009900">++        $(P2M) --section=1 openssl.pod &gt; openssl.1</font>
<font color="#009900">++</font>
<font color="#009900">++crypto.3:</font>
<font color="#009900">++        $(P2M) --section=3 crypto.pod &gt; crypto.3</font>
<font color="#009900">++</font>
<font color="#009900">++ssl.3:</font>
<font color="#009900">++        $(P2M) --section=3 ssl.pod &gt; ssl.3</font>
<font color="#009900">++</font>
<font color="#009900">++.PHONY: install</font>
<font color="#009900">++install:</font>
<font color="#009900">++        mkdir -p $(INSTALL_PREFIX)$(INSTALLTOP)/share/man/man1</font>
<font color="#009900">++        mkdir -p $(INSTALL_PREFIX)$(INSTALLTOP)/share/man/man3</font>
<font color="#009900">++        install -m 644 -p openssl.1 $(INSTALL_PREFIX)$(INSTALLTOP)/share/man/man1</font>
<font color="#009900">++        install -m 644 -p crypto.3 $(INSTALL_PREFIX)$(INSTALLTOP)/share/man/man3</font>
<font color="#009900">++        install -m 644 -p ssl.3 $(INSTALL_PREFIX)$(INSTALLTOP)/share/man/man3</font>
<font color="#009900">++        rm -f $(MANS)</font>
<font color="#009900">++</font>
<font color="#009900">++.PHONY: clean</font>
<font color="#009900">++clean:</font>
<font color="#009900">++        rm -f $(MANS)</font>
<font color="#009900">++</font>
<font color="#009900">++.PHONY: realclean</font>
<font color="#009900">++realclean:</font>
<font color="#009900">++        -$(MAKE) clean</font>
<font color="#009900">+--- openssl-0.9.8g.orig/doc/apps/c_rehash.pod</font>
<font color="#009900">++++ openssl-0.9.8g/doc/apps/c_rehash.pod</font>
<font color="#009900">+@@ -0,0 +1,55 @@</font>
<font color="#009900">++</font>
<font color="#009900">++=pod</font>
<font color="#009900">++</font>
<font color="#009900">++=head1 NAME</font>
<font color="#009900">++</font>
<font color="#009900">++c_rehash - Create symbolic links to files named by the hash values</font>
<font color="#009900">++</font>
<font color="#009900">++=head1 SYNOPSIS</font>
<font color="#009900">++</font>
<font color="#009900">++B&lt;c_rehash&gt;</font>
<font color="#009900">++[directory] ...</font>
<font color="#009900">++</font>
<font color="#009900">++=head1 DESCRIPTION</font>
<font color="#009900">++</font>
<font color="#009900">++c_rehash scans directories and takes a hash value of each .pem and .crt file in the directory. It then creates symbolic links for each of the files named by the hash value. This is useful as many programs require directories to be set up like this in order to find the certificates they require. </font>
<font color="#009900">++</font>
<font color="#009900">++If any directories are named on the command line then these directories are processed in turn. If not then and the environment variable SSL_CERT_DIR is defined then that is consulted. This variable should be a colon (:) separated list of directories, all of which will be processed. If neither of these conditions are true then /usr/lib/ssl/certs is processed. </font>
<font color="#009900">++</font>
<font color="#009900">++For each directory that is to be processed he user must have write permissions on the directory, if they do not then nothing will be printed for that directory.</font>
<font color="#009900">++</font>
<font color="#009900">++Note that this program deletes all the symbolic links that look like ones that it creates before processing a directory. Beware that if you run the program on a directory that contains symbolic links for other purposes that are named in the same format as those created by this program they will be lost.</font>
<font color="#009900">++</font>
<font color="#009900">++The hashes for certificate files are of the form &lt;hash&gt;.&lt;n&gt; where n is an integer. If the hash value already exists then n will be incremented, unless the file is a duplicate. Duplicates are detected using the fingerprint of the certificate. A warning will be printed if a duplicate is detected. The hashes for CRL files are of the form &lt;hash&gt;.r&lt;n&gt; and have the same behavior.</font>
<font color="#009900">++</font>
<font color="#009900">++The program will also warn if there are files with extension .pem which are not certificate or CRL files.</font>
<font color="#009900">++</font>
<font color="#009900">++The program uses the openssl program to compute the hashes and fingerprints. It expects the executable to be named openssl and be on the PATH, or in the /usr/lib/ssl/bin directory. If the OPENSSL environment variable is defined then this is used instead as the executable that provides the hashes and fingerprints. When called as $OPENSSL x509 -hash -fingerprint -noout -in $file it must output the hash of $file on the first line followed by the fingerprint on the second line, optionally prefixed with some text and an equals sign (=). </font>
<font color="#009900">++</font>
<font color="#009900">++=head1 OPTIONS</font>
<font color="#009900">++</font>
<font color="#009900">++None</font>
<font color="#009900">++</font>
<font color="#009900">++=head1 ENVIRONMENT</font>
<font color="#009900">++</font>
<font color="#009900">++=over 4</font>
<font color="#009900">++</font>
<font color="#009900">++=item B&lt;OPENSSL&gt;</font>
<font color="#009900">++</font>
<font color="#009900">++The name (and path) of an executable to use to generate hashes and fingerprints (see above).</font>
<font color="#009900">++</font>
<font color="#009900">++=item B&lt;SSL_CERT_DIR&gt;</font>
<font color="#009900">++</font>
<font color="#009900">++Colon separated list of directories to operate on. Ignored if directories are listed on the command line.</font>
<font color="#009900">++</font>
<font color="#009900">++=head1 SEE ALSO</font>
<font color="#009900">++</font>
<font color="#009900">++L&lt;openssl(1)|openssl(1)&gt;, L&lt;x509(1)|x509(1)&gt;</font>
<font color="#009900">++</font>
<font color="#009900">++=back</font>
<font color="#009900">++</font>
<font color="#009900">++=head1 BUGS</font>
<font color="#009900">++</font>
<font color="#009900">++No known bugs</font>
<font color="#009900">++</font>
<font color="#009900">++=cut</font>
<font color="#009900">+--- openssl-0.9.8g.orig/Makefile.org</font>
<font color="#009900">++++ openssl-0.9.8g/Makefile.org</font>
<font color="#009900">+@@ -104,7 +104,7 @@</font>
<font color="#009900">+ ZLIB_INCLUDE=</font>
<font color="#009900">+ LIBZLIB=</font>
<font color="#009900">+ </font>
<font color="#009900">+-DIRS=   crypto ssl engines apps test tools</font>
<font color="#009900">++DIRS=   crypto ssl engines apps tools</font>
<font color="#009900">+ SHLIBDIRS= crypto ssl</font>
<font color="#009900">+ </font>
<font color="#009900">+ # dirs in crypto to build</font>
<font color="#009900">+@@ -125,10 +125,11 @@</font>
<font color="#009900">+ </font>
<font color="#009900">+ MAKEFILE= Makefile</font>
<font color="#009900">+ </font>
<font color="#009900">+-MANDIR=$(OPENSSLDIR)/man</font>
<font color="#009900">++MANDIR=/usr/share/man</font>
<font color="#009900">+ MAN1=1</font>
<font color="#009900">+ MAN3=3</font>
<font color="#009900">+-MANSUFFIX=</font>
<font color="#009900">++MANSUFFIX=ssl</font>
<font color="#009900">++MANSECTION=SSL</font>
<font color="#009900">+ SHELL=/bin/sh</font>
<font color="#009900">+ </font>
<font color="#009900">+ TOP=    .</font>
<font color="#009900">+@@ -308,7 +309,8 @@</font>
<font color="#009900">+             echo 'Description: OpenSSL cryptography library'; \</font>
<font color="#009900">+             echo 'Version: '$(VERSION); \</font>
<font color="#009900">+             echo 'Requires: '; \</font>
<font color="#009900">+-            echo 'Libs: -L$${libdir} -lcrypto $(EX_LIBS)'; \</font>
<font color="#009900">++            echo 'Libs: -L$${libdir} -lcrypto'; \</font>
<font color="#009900">++            echo 'Libs.private: $(EX_LIBS)'; \</font>
<font color="#009900">+             echo 'Cflags: -I$${includedir} $(KRB5_INCLUDES)' ) &gt; libcrypto.pc</font>
<font color="#009900">+ </font>
<font color="#009900">+ libssl.pc: Makefile</font>
<font color="#009900">+@@ -321,7 +323,8 @@</font>
<font color="#009900">+             echo 'Description: Secure Sockets Layer and cryptography libraries'; \</font>
<font color="#009900">+             echo 'Version: '$(VERSION); \</font>
<font color="#009900">+             echo 'Requires: '; \</font>
<font color="#009900">+-            echo 'Libs: -L$${libdir} -lssl -lcrypto $(EX_LIBS)'; \</font>
<font color="#009900">++            echo 'Libs: -L$${libdir} -lssl'; \</font>
<font color="#009900">++            echo 'Libs.private: -lcrypto $(EX_LIBS)'; \</font>
<font color="#009900">+             echo 'Cflags: -I$${includedir} $(KRB5_INCLUDES)' ) &gt; libssl.pc</font>
<font color="#009900">+ </font>
<font color="#009900">+ openssl.pc: Makefile</font>
<font color="#009900">+@@ -334,7 +337,8 @@</font>
<font color="#009900">+             echo 'Description: Secure Sockets Layer and cryptography libraries and tools'; \</font>
<font color="#009900">+             echo 'Version: '$(VERSION); \</font>
<font color="#009900">+             echo 'Requires: '; \</font>
<font color="#009900">+-            echo 'Libs: -L$${libdir} -lssl -lcrypto $(EX_LIBS)'; \</font>
<font color="#009900">++            echo 'Libs: -L$${libdir} -lssl -lcrypto'; \</font>
<font color="#009900">++            echo 'Libs.private: $(EX_LIBS)'; \</font>
<font color="#009900">+             echo 'Cflags: -I$${includedir} $(KRB5_INCLUDES)' ) &gt; openssl.pc</font>
<font color="#009900">+ </font>
<font color="#009900">+ Makefile: Makefile.org Configure config</font>
<font color="#009900">+@@ -478,7 +482,7 @@</font>
<font color="#009900">+ install_sw:</font>
<font color="#009900">+         @$(PERL) $(TOP)/util/mkdir-p.pl $(INSTALL_PREFIX)$(INSTALLTOP)/bin \</font>
<font color="#009900">+                 $(INSTALL_PREFIX)$(INSTALLTOP)/lib \</font>
<font color="#009900">+-                $(INSTALL_PREFIX)$(INSTALLTOP)/lib/engines \</font>
<font color="#009900">++                $(INSTALL_PREFIX)$(INSTALLTOP)/lib/ssl/engines \</font>
<font color="#009900">+                 $(INSTALL_PREFIX)$(INSTALLTOP)/lib/pkgconfig \</font>
<font color="#009900">+                 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl \</font>
<font color="#009900">+                 $(INSTALL_PREFIX)$(OPENSSLDIR)/misc \</font>
<font color="#009900">+@@ -556,7 +560,7 @@</font>
<font color="#009900">+                 echo "installing man$$sec/$$fn.$${sec}$(MANSUFFIX)"; \</font>
<font color="#009900">+                 (cd `$(PERL) util/dirname.pl $$i`; \</font>
<font color="#009900">+                 sh -c "$$pod2man \</font>
<font color="#009900">+-                        --section=$$sec --center=OpenSSL \</font>
<font color="#009900">++                        --section=$${sec}$(MANSECTION) --center=OpenSSL \</font>
<font color="#009900">+                         --release=$(VERSION) `basename $$i`") \</font>
<font color="#009900">+                         &gt;  $(INSTALL_PREFIX)$(MANDIR)/man$$sec/$$fn.$${sec}$(MANSUFFIX); \</font>
<font color="#009900">+                 $(PERL) util/extract-names.pl &lt; $$i | \</font>
<font color="#009900">+@@ -573,7 +577,7 @@</font>
<font color="#009900">+                 echo "installing man$$sec/$$fn.$${sec}$(MANSUFFIX)"; \</font>
<font color="#009900">+                 (cd `$(PERL) util/dirname.pl $$i`; \</font>
<font color="#009900">+                 sh -c "$$pod2man \</font>
<font color="#009900">+-                        --section=$$sec --center=OpenSSL \</font>
<font color="#009900">++                        --section=$${sec}$(MANSECTION) --center=OpenSSL \</font>
<font color="#009900">+                         --release=$(VERSION) `basename $$i`") \</font>
<font color="#009900">+                         &gt;  $(INSTALL_PREFIX)$(MANDIR)/man$$sec/$$fn.$${sec}$(MANSUFFIX); \</font>
<font color="#009900">+                 $(PERL) util/extract-names.pl &lt; $$i | \</font>
<font color="#009900">+--- openssl-0.9.8g.orig/openssl.ld</font>
<font color="#009900">++++ openssl-0.9.8g/openssl.ld</font>
<font color="#009900">+@@ -0,0 +1,5 @@</font>
<font color="#009900">++OPENSSL_0.9.8 {</font>
<font color="#009900">++         global:</font>
<font color="#009900">++                 *;</font>
<font color="#009900">++};</font>
<font color="#009900">++</font>
<font color="#009900">+--- openssl-0.9.8g.orig/crypto/md5/asm/md5-x86_64.pl</font>
<font color="#009900">++++ openssl-0.9.8g/crypto/md5/asm/md5-x86_64.pl</font>
<font color="#009900">+@@ -1,4 +1,4 @@</font>
<font color="#009900">+-#!/usr/bin/perl -w</font>
<font color="#009900">++#!/usr/local/bin/perl</font>
<font color="#009900">+ #</font>
<font color="#009900">+ # MD5 optimized for AMD64.</font>
<font color="#009900">+ #</font>
<font color="#009900">+--- openssl-0.9.8g.orig/crypto/md5/asm/md5-sparcv9.S</font>
<font color="#009900">++++ openssl-0.9.8g/crypto/md5/asm/md5-sparcv9.S</font>
<font color="#009900">+@@ -74,14 +74,14 @@</font>
<font color="#009900">+ #define Dval        R8</font>
<font color="#009900">+ </font>
<font color="#009900">+ #if defined(MD5_BLOCK_DATA_ORDER)</font>
<font color="#009900">+-# if defined(OPENSSL_SYSNAME_ULTRASPARC)</font>
<font color="#009900">++/*# if defined(OPENSSL_SYSNAME_ULTRASPARC)*/</font>
<font color="#009900">+ #  define        LOAD                        lda</font>
<font color="#009900">+ #  define        X(i)                        [%i1+i*4]%asi</font>
<font color="#009900">+ #  define        md5_block                md5_block_asm_data_order_aligned</font>
<font color="#009900">+ #  define        ASI_PRIMARY_LITTLE        0x88</font>
<font color="#009900">+-# else</font>
<font color="#009900">++/*# else</font>
<font color="#009900">+ #  error "MD5_BLOCK_DATA_ORDER is supported only on UltraSPARC!"</font>
<font color="#009900">+-# endif</font>
<font color="#009900">++# endif*/</font>
<font color="#009900">+ #else</font>
<font color="#009900">+ # define        LOAD                        ld</font>
<font color="#009900">+ # define        X(i)                        [%i1+i*4]</font>
<font color="#009900">+--- openssl-0.9.8g.orig/crypto/Makefile</font>
<font color="#009900">++++ openssl-0.9.8g/crypto/Makefile</font>
<font color="#009900">+@@ -57,7 +57,7 @@</font>
<font color="#009900">+         echo "  #define DATE \"`LC_ALL=C LC_TIME=C date`\""; \</font>
<font color="#009900">+         echo '#endif' ) &gt;buildinf.h</font>
<font color="#009900">+ </font>
<font color="#009900">+-x86cpuid-elf.s:        x86cpuid.pl perlasm/x86asm.pl</font>
<font color="#009900">++x86cpuid-elf.S:        x86cpuid.pl perlasm/x86asm.pl</font>
<font color="#009900">+         $(PERL) x86cpuid.pl elf $(CFLAGS) $(PROCESSOR) &gt; $@</font>
<font color="#009900">+ x86cpuid-cof.s: x86cpuid.pl perlasm/x86asm.pl</font>
<font color="#009900">+         $(PERL) x86cpuid.pl coff $(CFLAGS) $(PROCESSOR) &gt; $@</font>
<font color="#009900">+@@ -70,7 +70,7 @@</font>
<font color="#009900">+ uplink-cof.s:        ../ms/uplink.pl</font>
<font color="#009900">+         $(PERL) ../ms/uplink.pl coff &gt; $@</font>
<font color="#009900">+ </font>
<font color="#009900">+-x86_64cpuid.s: x86_64cpuid.pl</font>
<font color="#009900">++x86_64cpuid.S: x86_64cpuid.pl</font>
<font color="#009900">+         $(PERL) x86_64cpuid.pl $@</font>
<font color="#009900">+ ia64cpuid.s: ia64cpuid.S</font>
<font color="#009900">+         $(CC) $(CFLAGS) -E ia64cpuid.S &gt; $@</font>
<font color="#009900">+--- openssl-0.9.8g.orig/crypto/sha/asm/sha1-ia64.pl</font>
<font color="#009900">++++ openssl-0.9.8g/crypto/sha/asm/sha1-ia64.pl</font>
<font color="#009900">+@@ -1,4 +1,4 @@</font>
<font color="#009900">+-#!/usr/bin/env perl</font>
<font color="#009900">++#!/usr/local/bin/perl</font>
<font color="#009900">+ #</font>
<font color="#009900">+ # ====================================================================</font>
<font color="#009900">+ # Written by Andy Polyakov &lt;appro@fy.chalmers.se&gt; for the OpenSSL</font>
<font color="#009900">+--- openssl-0.9.8g.orig/crypto/sha/asm/sha512-sse2.pl</font>
<font color="#009900">++++ openssl-0.9.8g/crypto/sha/asm/sha512-sse2.pl</font>
<font color="#009900">+@@ -1,4 +1,4 @@</font>
<font color="#009900">+-#!/usr/bin/env perl</font>
<font color="#009900">++#!/usr/local/bin/perl</font>
<font color="#009900">+ #</font>
<font color="#009900">+ # ====================================================================</font>
<font color="#009900">+ # Written by Andy Polyakov &lt;appro@fy.chalmers.se&gt; for the OpenSSL</font>
<font color="#009900">+--- openssl-0.9.8g.orig/crypto/sha/asm/sha512-ia64.pl</font>
<font color="#009900">++++ openssl-0.9.8g/crypto/sha/asm/sha512-ia64.pl</font>
<font color="#009900">+@@ -1,4 +1,4 @@</font>
<font color="#009900">+-#!/usr/bin/env perl</font>
<font color="#009900">++#!/usr/local/bin/perl</font>
<font color="#009900">+ #</font>
<font color="#009900">+ # ====================================================================</font>
<font color="#009900">+ # Written by Andy Polyakov &lt;appro@fy.chalmers.se&gt; for the OpenSSL</font>
<font color="#009900">+--- openssl-0.9.8g.orig/crypto/sha/sha.h</font>
<font color="#009900">++++ openssl-0.9.8g/crypto/sha/sha.h</font>
<font color="#009900">+@@ -59,6 +59,7 @@</font>
<font color="#009900">+ #ifndef HEADER_SHA_H</font>
<font color="#009900">+ #define HEADER_SHA_H</font>
<font color="#009900">+ </font>
<font color="#009900">++#include &lt;stddef.h&gt;</font>
<font color="#009900">+ #include &lt;openssl/e_os2.h&gt;</font>
<font color="#009900">+ #include &lt;stddef.h&gt;</font>
<font color="#009900">+ </font>
<font color="#009900">+--- openssl-0.9.8g.orig/crypto/rand/md_rand.c</font>
<font color="#009900">++++ openssl-0.9.8g/crypto/rand/md_rand.c</font>
<font color="#009900">+@@ -271,7 +271,10 @@</font>
<font color="#009900">+                 else</font>
<font color="#009900">+                         MD_Update(&amp;m,&amp;(state[st_idx]),j);</font>
<font color="#009900">+                         </font>
<font color="#009900">++/*                </font>
<font color="#009900">++ * Don't add uninitialised data.</font>
<font color="#009900">+                 MD_Update(&amp;m,buf,j);</font>
<font color="#009900">++*/</font>
<font color="#009900">+                 MD_Update(&amp;m,(unsigned char *)&amp;(md_c[0]),sizeof(md_c));</font>
<font color="#009900">+                 MD_Final(&amp;m,local_md);</font>
<font color="#009900">+                 md_c[1]++;</font>
<font color="#009900">+@@ -465,8 +468,10 @@</font>
<font color="#009900">+                 MD_Update(&amp;m,local_md,MD_DIGEST_LENGTH);</font>
<font color="#009900">+                 MD_Update(&amp;m,(unsigned char *)&amp;(md_c[0]),sizeof(md_c));</font>
<font color="#009900">+ #ifndef PURIFY</font>
<font color="#009900">++#if 0 /* Don't add uninitialised data. */</font>
<font color="#009900">+                 MD_Update(&amp;m,buf,j); /* purify complains */</font>
<font color="#009900">+ #endif</font>
<font color="#009900">++#endif</font>
<font color="#009900">+                 k=(st_idx+MD_DIGEST_LENGTH/2)-st_num;</font>
<font color="#009900">+                 if (k &gt; 0)</font>
<font color="#009900">+                         {</font>
<font color="#009900">+--- openssl-0.9.8g.orig/crypto/des/asm/desboth.pl</font>
<font color="#009900">++++ openssl-0.9.8g/crypto/des/asm/desboth.pl</font>
<font color="#009900">+@@ -16,6 +16,11 @@</font>
<font color="#009900">+ </font>
<font color="#009900">+         &amp;push("edi");</font>
<font color="#009900">+ </font>
<font color="#009900">++        &amp;call   (&amp;label("pic_point0"));</font>
<font color="#009900">++        &amp;set_label("pic_point0");</font>
<font color="#009900">++        &amp;blindpop("ebp");</font>
<font color="#009900">++        &amp;add    ("ebp", "\$_GLOBAL_OFFSET_TABLE_+[.-" . &amp;label("pic_point0") . "]");</font>
<font color="#009900">++</font>
<font color="#009900">+         &amp;comment("");</font>
<font color="#009900">+         &amp;comment("Load the data words");</font>
<font color="#009900">+         &amp;mov($L,&amp;DWP(0,"ebx","",0));</font>
<font color="#009900">+@@ -47,15 +52,21 @@</font>
<font color="#009900">+         &amp;mov(&amp;swtmp(2),        (DWC(($enc)?"1":"0")));</font>
<font color="#009900">+         &amp;mov(&amp;swtmp(1),        "eax");</font>
<font color="#009900">+         &amp;mov(&amp;swtmp(0),        "ebx");</font>
<font color="#009900">+-        &amp;call("DES_encrypt2");</font>
<font color="#009900">++        &amp;exch("ebx", "ebp");</font>
<font color="#009900">++        &amp;call("DES_encrypt2\@PLT");</font>
<font color="#009900">++        &amp;exch("ebx", "ebp");</font>
<font color="#009900">+         &amp;mov(&amp;swtmp(2),        (DWC(($enc)?"0":"1")));</font>
<font color="#009900">+         &amp;mov(&amp;swtmp(1),        "edi");</font>
<font color="#009900">+         &amp;mov(&amp;swtmp(0),        "ebx");</font>
<font color="#009900">+-        &amp;call("DES_encrypt2");</font>
<font color="#009900">++        &amp;exch("ebx", "ebp");</font>
<font color="#009900">++        &amp;call("DES_encrypt2\@PLT");</font>
<font color="#009900">++        &amp;exch("ebx", "ebp");</font>
<font color="#009900">+         &amp;mov(&amp;swtmp(2),        (DWC(($enc)?"1":"0")));</font>
<font color="#009900">+         &amp;mov(&amp;swtmp(1),        "esi");</font>
<font color="#009900">+         &amp;mov(&amp;swtmp(0),        "ebx");</font>
<font color="#009900">+-        &amp;call("DES_encrypt2");</font>
<font color="#009900">++        &amp;exch("ebx", "ebp");</font>
<font color="#009900">++        &amp;call("DES_encrypt2\@PLT");</font>
<font color="#009900">++        &amp;exch("ebx", "ebp");</font>
<font color="#009900">+ </font>
<font color="#009900">+         &amp;stack_pop(3);</font>
<font color="#009900">+         &amp;mov($L,&amp;DWP(0,"ebx","",0));</font>
<font color="#009900">+--- openssl-0.9.8g.orig/crypto/x86cpuid.pl</font>
<font color="#009900">++++ openssl-0.9.8g/crypto/x86cpuid.pl</font>
<font color="#009900">+@@ -1,4 +1,4 @@</font>
<font color="#009900">+-#!/usr/bin/env perl</font>
<font color="#009900">++#!/usr/local/bin/perl</font>
<font color="#009900">+ </font>
<font color="#009900">+ push(@INC,"perlasm");</font>
<font color="#009900">+ require "x86asm.pl";</font>
<font color="#009900">+--- openssl-0.9.8g.orig/crypto/rc4/asm/rc4-x86_64.pl</font>
<font color="#009900">++++ openssl-0.9.8g/crypto/rc4/asm/rc4-x86_64.pl</font>
<font color="#009900">+@@ -1,4 +1,4 @@</font>
<font color="#009900">+-#!/usr/bin/env perl</font>
<font color="#009900">++#!/usr/local/bin/perl</font>
<font color="#009900">+ #</font>
<font color="#009900">+ # ====================================================================</font>
<font color="#009900">+ # Written by Andy Polyakov &lt;appro@fy.chalmers.se&gt; for the OpenSSL</font>
<font color="#009900">+--- openssl-0.9.8g.orig/crypto/perlasm/x86unix.pl</font>
<font color="#009900">++++ openssl-0.9.8g/crypto/perlasm/x86unix.pl</font>
<font color="#009900">+@@ -399,6 +399,29 @@</font>
<font color="#009900">+         $stack=4;</font>
<font color="#009900">+         }</font>
<font color="#009900">+ </font>
<font color="#009900">++sub main'function_begin_B_static</font>
<font color="#009900">++        {</font>
<font color="#009900">++        local($func,$extra)=@_;</font>
<font color="#009900">++</font>
<font color="#009900">++        &amp;main'external_label($func);</font>
<font color="#009900">++        $func=$under.$func;</font>
<font color="#009900">++</font>
<font color="#009900">++        local($tmp)=&lt;&lt;"EOF";</font>
<font color="#009900">++.text</font>
<font color="#009900">++EOF</font>
<font color="#009900">++        push(@out,$tmp);</font>
<font color="#009900">++        if ($main'cpp)</font>
<font color="#009900">++                { push(@out,"TYPE($func,\@function)\n"); }</font>
<font color="#009900">++        elsif ($main'coff)</font>
<font color="#009900">++                { $tmp=push(@out,".def\t$func;\t.scl\t2;\t.type\t32;\t.endef\n"); }</font>
<font color="#009900">++        elsif ($main'aout and !$main'pic)</font>
<font color="#009900">++                { }</font>
<font color="#009900">++        else        { push(@out,".type        $func,\@function\n"); }</font>
<font color="#009900">++        push(@out,".align\t$align\n");</font>
<font color="#009900">++        push(@out,"$func:\n");</font>
<font color="#009900">++        $stack=4;</font>
<font color="#009900">++        }</font>
<font color="#009900">++</font>
<font color="#009900">+ sub main'function_end</font>
<font color="#009900">+         {</font>
<font color="#009900">+         local($func)=@_;</font>
<font color="#009900">+@@ -730,7 +753,17 @@</font>
<font color="#009900">+                 {</font>
<font color="#009900">+                 $tmp=&lt;&lt;___;</font>
<font color="#009900">+ .section        .init</font>
<font color="#009900">++#ifdef OPENSSL_PIC</font>
<font color="#009900">++        pushl        %ebx</font>
<font color="#009900">++        call    .pic_point0</font>
<font color="#009900">++.pic_point0:</font>
<font color="#009900">++        popl    %ebx</font>
<font color="#009900">++        addl    \$_GLOBAL_OFFSET_TABLE_+[.-.pic_point0],%ebx</font>
<font color="#009900">++        call        $under$f\@PLT</font>
<font color="#009900">++        popl        %ebx</font>
<font color="#009900">++#else</font>
<font color="#009900">+         call        $under$f</font>
<font color="#009900">++#endif</font>
<font color="#009900">+         jmp        .Linitalign</font>
<font color="#009900">+ .align        $align</font>
<font color="#009900">+ .Linitalign:</font>
<font color="#009900">+--- openssl-0.9.8g.orig/crypto/perlasm/cbc.pl</font>
<font color="#009900">++++ openssl-0.9.8g/crypto/perlasm/cbc.pl</font>
<font color="#009900">+@@ -122,7 +122,11 @@</font>
<font color="#009900">+         &amp;mov(&amp;DWP($data_off,"esp","",0),        "eax");        # put in array for call</font>
<font color="#009900">+         &amp;mov(&amp;DWP($data_off+4,"esp","",0),        "ebx");        #</font>
<font color="#009900">+ </font>
<font color="#009900">+-        &amp;call($enc_func);</font>
<font color="#009900">++        &amp;call        (&amp;label("pic_point0"));</font>
<font color="#009900">++        &amp;set_label("pic_point0");</font>
<font color="#009900">++        &amp;blindpop("ebx");</font>
<font color="#009900">++        &amp;add        ("ebx", "\$_GLOBAL_OFFSET_TABLE_+[.-" . &amp;label("pic_point0") . "]");</font>
<font color="#009900">++        &amp;call("$enc_func\@PLT");</font>
<font color="#009900">+ </font>
<font color="#009900">+         &amp;mov("eax",        &amp;DWP($data_off,"esp","",0));</font>
<font color="#009900">+         &amp;mov("ebx",        &amp;DWP($data_off+4,"esp","",0));</font>
<font color="#009900">+@@ -187,7 +191,11 @@</font>
<font color="#009900">+         &amp;mov(&amp;DWP($data_off,"esp","",0),        "eax");        # put in array for call</font>
<font color="#009900">+         &amp;mov(&amp;DWP($data_off+4,"esp","",0),        "ebx");        #</font>
<font color="#009900">+ </font>
<font color="#009900">+-        &amp;call($enc_func);</font>
<font color="#009900">++        &amp;call        (&amp;label("pic_point1"));</font>
<font color="#009900">++        &amp;set_label("pic_point1");</font>
<font color="#009900">++        &amp;blindpop("ebx");</font>
<font color="#009900">++        &amp;add        ("ebx", "\$_GLOBAL_OFFSET_TABLE_+[.-" . &amp;label("pic_point1") . "]");</font>
<font color="#009900">++        &amp;call("$enc_func\@PLT");</font>
<font color="#009900">+ </font>
<font color="#009900">+         &amp;mov("eax",        &amp;DWP($data_off,"esp","",0));</font>
<font color="#009900">+         &amp;mov("ebx",        &amp;DWP($data_off+4,"esp","",0));</font>
<font color="#009900">+@@ -220,7 +228,11 @@</font>
<font color="#009900">+         &amp;mov(&amp;DWP($data_off,"esp","",0),        "eax");        # put back</font>
<font color="#009900">+         &amp;mov(&amp;DWP($data_off+4,"esp","",0),        "ebx");        #</font>
<font color="#009900">+ </font>
<font color="#009900">+-        &amp;call($dec_func);</font>
<font color="#009900">++        &amp;call        (&amp;label("pic_point2"));</font>
<font color="#009900">++        &amp;set_label("pic_point2");</font>
<font color="#009900">++        &amp;blindpop("ebx");</font>
<font color="#009900">++        &amp;add        ("ebx", "\$_GLOBAL_OFFSET_TABLE_+[.-" . &amp;label("pic_point2") . "]");</font>
<font color="#009900">++        &amp;call("$dec_func\@PLT");</font>
<font color="#009900">+ </font>
<font color="#009900">+         &amp;mov("eax",        &amp;DWP($data_off,"esp","",0));        # get return</font>
<font color="#009900">+         &amp;mov("ebx",        &amp;DWP($data_off+4,"esp","",0));        #</font>
<font color="#009900">+@@ -263,7 +275,11 @@</font>
<font color="#009900">+         &amp;mov(&amp;DWP($data_off,"esp","",0),        "eax");        # put back</font>
<font color="#009900">+         &amp;mov(&amp;DWP($data_off+4,"esp","",0),        "ebx");        #</font>
<font color="#009900">+ </font>
<font color="#009900">+-        &amp;call($dec_func);</font>
<font color="#009900">++        &amp;call        (&amp;label("pic_point3"));</font>
<font color="#009900">++        &amp;set_label("pic_point3");</font>
<font color="#009900">++        &amp;blindpop("ebx");</font>
<font color="#009900">++        &amp;add        ("ebx", "\$_GLOBAL_OFFSET_TABLE_+[.-" . &amp;label("pic_point3") . "]");</font>
<font color="#009900">++        &amp;call("$dec_func\@PLT");</font>
<font color="#009900">+ </font>
<font color="#009900">+         &amp;mov("eax",        &amp;DWP($data_off,"esp","",0));        # get return</font>
<font color="#009900">+         &amp;mov("ebx",        &amp;DWP($data_off+4,"esp","",0));        #</font>
<font color="#009900">+--- openssl-0.9.8g.orig/crypto/perlasm/x86_64-xlate.pl</font>
<font color="#009900">++++ openssl-0.9.8g/crypto/perlasm/x86_64-xlate.pl</font>
<font color="#009900">+@@ -1,4 +1,4 @@</font>
<font color="#009900">+-#!/usr/bin/env perl</font>
<font color="#009900">++#!/usr/local/bin/perl</font>
<font color="#009900">+ </font>
<font color="#009900">+ # Ascetic x86_64 AT&amp;T to MASM assembler translator by &lt;appro&gt;.</font>
<font color="#009900">+ #</font>
<font color="#009900">+--- openssl-0.9.8g.orig/crypto/opensslconf.h</font>
<font color="#009900">++++ openssl-0.9.8g/crypto/opensslconf.h</font>
<font color="#009900">+@@ -10,6 +10,9 @@</font>
<font color="#009900">+ #ifndef OPENSSL_NO_GMP</font>
<font color="#009900">+ # define OPENSSL_NO_GMP</font>
<font color="#009900">+ #endif</font>
<font color="#009900">++#ifndef OPENSSL_NO_IDEA</font>
<font color="#009900">++# define OPENSSL_NO_IDEA</font>
<font color="#009900">++#endif</font>
<font color="#009900">+ #ifndef OPENSSL_NO_KRB5</font>
<font color="#009900">+ # define OPENSSL_NO_KRB5</font>
<font color="#009900">+ #endif</font>
<font color="#009900">+@@ -25,11 +28,11 @@</font>
<font color="#009900">+ #ifndef OPENSSL_NO_SEED</font>
<font color="#009900">+ # define OPENSSL_NO_SEED</font>
<font color="#009900">+ #endif</font>
<font color="#009900">+-#ifndef OPENSSL_NO_TLSEXT</font>
<font color="#009900">+-# define OPENSSL_NO_TLSEXT</font>
<font color="#009900">+-#endif</font>
<font color="#009900">+ </font>
<font color="#009900">+ #endif /* OPENSSL_DOING_MAKEDEPEND */</font>
<font color="#009900">++#ifndef OPENSSL_THREADS</font>
<font color="#009900">++# define OPENSSL_THREADS</font>
<font color="#009900">++#endif</font>
<font color="#009900">+ #ifndef OPENSSL_NO_DYNAMIC_ENGINE</font>
<font color="#009900">+ # define OPENSSL_NO_DYNAMIC_ENGINE</font>
<font color="#009900">+ #endif</font>
<font color="#009900">+@@ -45,6 +48,9 @@</font>
<font color="#009900">+ # if defined(OPENSSL_NO_GMP) &amp;&amp; !defined(NO_GMP)</font>
<font color="#009900">+ #  define NO_GMP</font>
<font color="#009900">+ # endif</font>
<font color="#009900">++# if defined(OPENSSL_NO_IDEA) &amp;&amp; !defined(NO_IDEA)</font>
<font color="#009900">++#  define NO_IDEA</font>
<font color="#009900">++# endif</font>
<font color="#009900">+ # if defined(OPENSSL_NO_KRB5) &amp;&amp; !defined(NO_KRB5)</font>
<font color="#009900">+ #  define NO_KRB5</font>
<font color="#009900">+ # endif</font>
<font color="#009900">+@@ -60,11 +66,10 @@</font>
<font color="#009900">+ # if defined(OPENSSL_NO_SEED) &amp;&amp; !defined(NO_SEED)</font>
<font color="#009900">+ #  define NO_SEED</font>
<font color="#009900">+ # endif</font>
<font color="#009900">+-# if defined(OPENSSL_NO_TLSEXT) &amp;&amp; !defined(NO_TLSEXT)</font>
<font color="#009900">+-#  define NO_TLSEXT</font>
<font color="#009900">+-# endif</font>
<font color="#009900">+ #endif</font>
<font color="#009900">+ </font>
<font color="#009900">++#define OPENSSL_CPUID_OBJ</font>
<font color="#009900">++</font>
<font color="#009900">+ /* crypto/opensslconf.h.in */</font>
<font color="#009900">+ </font>
<font color="#009900">+ /* Generate 80386 code? */</font>
<font color="#009900">+@@ -72,8 +77,8 @@</font>
<font color="#009900">+ </font>
<font color="#009900">+ #if !(defined(VMS) || defined(__VMS)) /* VMS uses logical names instead */</font>
<font color="#009900">+ #if defined(HEADER_CRYPTLIB_H) &amp;&amp; !defined(OPENSSLDIR)</font>
<font color="#009900">+-#define ENGINESDIR "/usr/local/ssl/lib/engines"</font>
<font color="#009900">+-#define OPENSSLDIR "/usr/local/ssl"</font>
<font color="#009900">++#define ENGINESDIR "/usr/lib/ssl/engines"</font>
<font color="#009900">++#define OPENSSLDIR "/usr/lib/ssl"</font>
<font color="#009900">+ #endif</font>
<font color="#009900">+ #endif</font>
<font color="#009900">+ </font>
<font color="#009900">+@@ -104,14 +109,14 @@</font>
<font color="#009900">+  * - Intel P6 because partial register stalls are very expensive;</font>
<font color="#009900">+  * - elder Alpha because it lacks byte load/store instructions;</font>
<font color="#009900">+  */</font>
<font color="#009900">+-#define RC4_INT unsigned int</font>
<font color="#009900">++#define RC4_INT unsigned char</font>
<font color="#009900">+ #endif</font>
<font color="#009900">+ #if !defined(RC4_CHUNK)</font>
<font color="#009900">+ /*</font>
<font color="#009900">+  * This enables code handling data aligned at natural CPU word</font>
<font color="#009900">+  * boundary. See crypto/rc4/rc4_enc.c for further details.</font>
<font color="#009900">+  */</font>
<font color="#009900">+-#undef RC4_CHUNK</font>
<font color="#009900">++#define RC4_CHUNK unsigned long</font>
<font color="#009900">+ #endif</font>
<font color="#009900">+ #endif</font>
<font color="#009900">+ </font>
<font color="#009900">+@@ -119,7 +124,7 @@</font>
<font color="#009900">+ /* If this is set to 'unsigned int' on a DEC Alpha, this gives about a</font>
<font color="#009900">+  * %20 speed up (longs are 8 bytes, int's are 4). */</font>
<font color="#009900">+ #ifndef DES_LONG</font>
<font color="#009900">+-#define DES_LONG unsigned long</font>
<font color="#009900">++#define DES_LONG unsigned int</font>
<font color="#009900">+ #endif</font>
<font color="#009900">+ #endif</font>
<font color="#009900">+ </font>
<font color="#009900">+@@ -133,9 +138,9 @@</font>
<font color="#009900">+ /* The prime number generation stuff may not work when</font>
<font color="#009900">+  * EIGHT_BIT but I don't care since I've only used this mode</font>
<font color="#009900">+  * for debuging the bignum libraries */</font>
<font color="#009900">+-#undef SIXTY_FOUR_BIT_LONG</font>
<font color="#009900">++#define SIXTY_FOUR_BIT_LONG</font>
<font color="#009900">+ #undef SIXTY_FOUR_BIT</font>
<font color="#009900">+-#define THIRTY_TWO_BIT</font>
<font color="#009900">++#undef THIRTY_TWO_BIT</font>
<font color="#009900">+ #undef SIXTEEN_BIT</font>
<font color="#009900">+ #undef EIGHT_BIT</font>
<font color="#009900">+ #endif</font>
<font color="#009900">+@@ -149,7 +154,7 @@</font>
<font color="#009900">+ </font>
<font color="#009900">+ #if defined(HEADER_BF_LOCL_H) &amp;&amp; !defined(CONFIG_HEADER_BF_LOCL_H)</font>
<font color="#009900">+ #define CONFIG_HEADER_BF_LOCL_H</font>
<font color="#009900">+-#undef BF_PTR</font>
<font color="#009900">++#define BF_PTR2</font>
<font color="#009900">+ #endif /* HEADER_BF_LOCL_H */</font>
<font color="#009900">+ </font>
<font color="#009900">+ #if defined(HEADER_DES_LOCL_H) &amp;&amp; !defined(CONFIG_HEADER_DES_LOCL_H)</font>
<font color="#009900">+@@ -179,7 +184,7 @@</font>
<font color="#009900">+ /* Unroll the inner loop, this sometimes helps, sometimes hinders.</font>
<font color="#009900">+  * Very mucy CPU dependant */</font>
<font color="#009900">+ #ifndef DES_UNROLL</font>
<font color="#009900">+-#undef DES_UNROLL</font>
<font color="#009900">++#define DES_UNROLL</font>
<font color="#009900">+ #endif</font>
<font color="#009900">+ </font>
<font color="#009900">+ /* These default values were supplied by</font>
<font color="#009900">+--- openssl-0.9.8g.orig/crypto/pkcs7/pk7_mime.c</font>
<font color="#009900">++++ openssl-0.9.8g/crypto/pkcs7/pk7_mime.c</font>
<font color="#009900">+@@ -335,9 +335,9 @@</font>
<font color="#009900">+ </font>
<font color="#009900">+                 if(strcmp(hdr-&gt;value, "application/x-pkcs7-signature") &amp;&amp;</font>
<font color="#009900">+                         strcmp(hdr-&gt;value, "application/pkcs7-signature")) {</font>
<font color="#009900">+-                        sk_MIME_HEADER_pop_free(headers, mime_hdr_free);</font>
<font color="#009900">+                         PKCS7err(PKCS7_F_SMIME_READ_PKCS7,PKCS7_R_SIG_INVALID_MIME_TYPE);</font>
<font color="#009900">+                         ERR_add_error_data(2, "type: ", hdr-&gt;value);</font>
<font color="#009900">++                        sk_MIME_HEADER_pop_free(headers, mime_hdr_free);</font>
<font color="#009900">+                         sk_BIO_pop_free(parts, BIO_vfree);</font>
<font color="#009900">+                         return NULL;</font>
<font color="#009900">+                 }</font>
<font color="#009900">+--- openssl-0.9.8g.orig/crypto/bn/asm/ppc.pl</font>
<font color="#009900">++++ openssl-0.9.8g/crypto/bn/asm/ppc.pl</font>
<font color="#009900">+@@ -1,4 +1,4 @@</font>
<font color="#009900">+-#!/usr/bin/env perl</font>
<font color="#009900">++#!/usr/local/bin/perl</font>
<font color="#009900">+ #</font>
<font color="#009900">+ # Implemented as a Perl wrapper as we want to support several different</font>
<font color="#009900">+ # architectures with single file. We pick up the target based on the</font>
<font color="#009900">+--- openssl-0.9.8g.orig/crypto/x86_64cpuid.pl</font>
<font color="#009900">++++ openssl-0.9.8g/crypto/x86_64cpuid.pl</font>
<font color="#009900">+@@ -1,4 +1,4 @@</font>
<font color="#009900">+-#!/usr/bin/env perl</font>
<font color="#009900">++#!/usr/local/bin/perl</font>
<font color="#009900">+ </font>
<font color="#009900">+ $output=shift;</font>
<font color="#009900">+ $win64a=1 if ($output =~ /win64a\.[s|asm]/);</font>
<font color="#009900">+@@ -134,5 +134,9 @@</font>
<font color="#009900">+ .size        OPENSSL_ia32_cpuid,.-OPENSSL_ia32_cpuid</font>
<font color="#009900">+ </font>
<font color="#009900">+ .section        .init</font>
<font color="#009900">++#ifdef OPENSSL_PIC</font>
<font color="#009900">++        call        OPENSSL_cpuid_setup\@PLT</font>
<font color="#009900">++#else</font>
<font color="#009900">+         call        OPENSSL_cpuid_setup</font>
<font color="#009900">++#endif</font>
<font color="#009900">+ ___</font>
<font color="#009900">+--- openssl-0.9.8g.orig/crypto/aes/asm/aes-586.pl</font>
<font color="#009900">++++ openssl-0.9.8g/crypto/aes/asm/aes-586.pl</font>
<font color="#009900">+@@ -1,4 +1,4 @@</font>
<font color="#009900">+-#!/usr/bin/env perl</font>
<font color="#009900">++#!/usr/local/bin/perl</font>
<font color="#009900">+ #</font>
<font color="#009900">+ # ====================================================================</font>
<font color="#009900">+ # Written by Andy Polyakov &lt;appro@fy.chalmers.se&gt; for the OpenSSL</font>
<font color="#009900">+@@ -250,7 +250,7 @@</font>
<font color="#009900">+ sub _data_word() { my $i; while(defined($i=shift)) { &amp;data_word($i,$i); } }</font>
<font color="#009900">+ </font>
<font color="#009900">+ &amp;public_label("AES_Te");</font>
<font color="#009900">+-&amp;function_begin_B("_x86_AES_encrypt");</font>
<font color="#009900">++&amp;function_begin_B_static("_x86_AES_encrypt");</font>
<font color="#009900">+         if ($vertical_spin) {</font>
<font color="#009900">+                 # I need high parts of volatile registers to be accessible...</font>
<font color="#009900">+                 &amp;exch        ($s1="edi",$key="ebx");</font>
<font color="#009900">+@@ -539,7 +539,7 @@</font>
<font color="#009900">+ }</font>
<font color="#009900">+ </font>
<font color="#009900">+ &amp;public_label("AES_Td");</font>
<font color="#009900">+-&amp;function_begin_B("_x86_AES_decrypt");</font>
<font color="#009900">++&amp;function_begin_B_static("_x86_AES_decrypt");</font>
<font color="#009900">+         # note that caller is expected to allocate stack frame for me!</font>
<font color="#009900">+         &amp;mov        (&amp;DWP(12,"esp"),$key);                # save key</font>
<font color="#009900">+ </font>
<font color="#009900">+@@ -1460,15 +1460,22 @@</font>
<font color="#009900">+ &amp;public_label("AES_Td");</font>
<font color="#009900">+ &amp;public_label("AES_Te");</font>
<font color="#009900">+ &amp;function_begin_B("AES_set_decrypt_key");</font>
<font color="#009900">++        &amp;push        ("ebx");</font>
<font color="#009900">+         &amp;mov        ("eax",&amp;wparam(0));</font>
<font color="#009900">+         &amp;mov        ("ecx",&amp;wparam(1));</font>
<font color="#009900">+         &amp;mov        ("edx",&amp;wparam(2));</font>
<font color="#009900">+         &amp;sub        ("esp",12);</font>
<font color="#009900">++</font>
<font color="#009900">++        &amp;call        (&amp;label("pic_point0")); </font>
<font color="#009900">++        &amp;set_label("pic_point0");</font>
<font color="#009900">++        &amp;blindpop("ebx");</font>
<font color="#009900">++        &amp;add        ("ebx", "\$_GLOBAL_OFFSET_TABLE_+[.-" . &amp;label("pic_point0") . "]");</font>
<font color="#009900">+         &amp;mov        (&amp;DWP(0,"esp"),"eax");</font>
<font color="#009900">+         &amp;mov        (&amp;DWP(4,"esp"),"ecx");</font>
<font color="#009900">+         &amp;mov        (&amp;DWP(8,"esp"),"edx");</font>
<font color="#009900">+-        &amp;call        ("AES_set_encrypt_key");</font>
<font color="#009900">++        &amp;call        ("AES_set_encrypt_key\@PLT");</font>
<font color="#009900">+         &amp;add        ("esp",12);</font>
<font color="#009900">++        &amp;pop        ("ebx");</font>
<font color="#009900">+         &amp;cmp        ("eax",0);</font>
<font color="#009900">+         &amp;je        (&amp;label("proceed"));</font>
<font color="#009900">+         &amp;ret        ();</font>
<font color="#009900">+--- openssl-0.9.8g.orig/crypto/asn1/charmap.pl</font>
<font color="#009900">++++ openssl-0.9.8g/crypto/asn1/charmap.pl</font>
<font color="#009900">+@@ -1,4 +1,4 @@</font>
<font color="#009900">+-#!/usr/local/bin/perl -w</font>
<font color="#009900">++#!/usr/local/bin/perl</font>
<font color="#009900">+ </font>
<font color="#009900">+ use strict;</font>
<font color="#009900">+ </font>
<font color="#009900">+--- openssl-0.9.8g.orig/util/mkerr.pl</font>
<font color="#009900">++++ openssl-0.9.8g/util/mkerr.pl</font>
<font color="#009900">+@@ -1,4 +1,4 @@</font>
<font color="#009900">+-#!/usr/local/bin/perl -w</font>
<font color="#009900">++#!/usr/local/bin/perl</font>
<font color="#009900">+ </font>
<font color="#009900">+ my $config = "crypto/err/openssl.ec";</font>
<font color="#009900">+ my $debug = 0;</font>
<font color="#009900">+--- openssl-0.9.8g.orig/util/clean-depend.pl</font>
<font color="#009900">++++ openssl-0.9.8g/util/clean-depend.pl</font>
<font color="#009900">+@@ -1,4 +1,4 @@</font>
<font color="#009900">+-#!/usr/local/bin/perl -w</font>
<font color="#009900">++#!/usr/local/bin/perl</font>
<font color="#009900">+ # Clean the dependency list in a makefile of standard includes...</font>
<font color="#009900">+ # Written by Ben Laurie &lt;ben@algroup.co.uk&gt; 19 Jan 1999</font>
<font color="#009900">+ </font>
<font color="#009900">+--- openssl-0.9.8g.orig/util/extract-names.pl</font>
<font color="#009900">++++ openssl-0.9.8g/util/extract-names.pl</font>
<font color="#009900">+@@ -1,4 +1,4 @@</font>
<font color="#009900">+-#!/usr/bin/perl</font>
<font color="#009900">++#!/usr/local/bin/perl</font>
<font color="#009900">+ </font>
<font color="#009900">+ $/ = "";                        # Eat a paragraph at once.</font>
<font color="#009900">+ while(&lt;STDIN&gt;) {</font>
<font color="#009900">+--- openssl-0.9.8g.orig/util/pod2man.pl</font>
<font color="#009900">++++ openssl-0.9.8g/util/pod2man.pl</font>
<font color="#009900">+@@ -1,4 +1,4 @@</font>
<font color="#009900">+-: #!/usr/bin/perl-5.005</font>
<font color="#009900">++#!/usr/local/bin/perl</font>
<font color="#009900">+     eval 'exec /usr/bin/perl -S $0 ${1+"$@"}'</font>
<font color="#009900">+         if $running_under_some_shell;</font>
<font color="#009900">+ </font>
<font color="#009900">+--- openssl-0.9.8g.orig/util/mkstack.pl</font>
<font color="#009900">++++ openssl-0.9.8g/util/mkstack.pl</font>
<font color="#009900">+@@ -1,4 +1,4 @@</font>
<font color="#009900">+-#!/usr/local/bin/perl -w</font>
<font color="#009900">++#!/usr/local/bin/perl</font>
<font color="#009900">+ </font>
<font color="#009900">+ # This is a utility that searches out "DECLARE_STACK_OF()"</font>
<font color="#009900">+ # declarations in .h and .c files, and updates/creates/replaces</font>
<font color="#009900">+--- openssl-0.9.8g.orig/util/selftest.pl</font>
<font color="#009900">++++ openssl-0.9.8g/util/selftest.pl</font>
<font color="#009900">+@@ -1,4 +1,4 @@</font>
<font color="#009900">+-#!/usr/local/bin/perl -w</font>
<font color="#009900">++#!/usr/local/bin/perl</font>
<font color="#009900">+ #</font>
<font color="#009900">+ # Run the test suite and generate a report</font>
<font color="#009900">+ #</font>
<font color="#009900">+--- openssl-0.9.8g.orig/util/extract-section.pl</font>
<font color="#009900">++++ openssl-0.9.8g/util/extract-section.pl</font>
<font color="#009900">+@@ -1,4 +1,4 @@</font>
<font color="#009900">+-#!/usr/bin/perl</font>
<font color="#009900">++#!/usr/local/bin/perl</font>
<font color="#009900">+ </font>
<font color="#009900">+ while(&lt;STDIN&gt;) {</font>
<font color="#009900">+         if (/=for\s+comment\s+openssl_manual_section:(\S+)/)</font>
<font color="#009900">+--- openssl-0.9.8g.orig/util/pl/netware.pl</font>
<font color="#009900">++++ openssl-0.9.8g/util/pl/netware.pl</font>
<font color="#009900">+@@ -1,4 +1,4 @@</font>
<font color="#009900">+-# Metrowerks Codewarrior for NetWare</font>
<font color="#009900">++#!/usr/local/bin/perl</font>
<font color="#009900">+ #</font>
<font color="#009900">+ </font>
<font color="#009900">+ # The import files and other misc imports needed to link</font>
<font color="#009900">+--- openssl-0.9.8g.orig/util/mkdef.pl</font>
<font color="#009900">++++ openssl-0.9.8g/util/mkdef.pl</font>
<font color="#009900">+@@ -1,4 +1,4 @@</font>
<font color="#009900">+-#!/usr/local/bin/perl -w</font>
<font color="#009900">++#!/usr/local/bin/perl</font>
<font color="#009900">+ #</font>
<font color="#009900">+ # generate a .def file</font>
<font color="#009900">+ #</font>
============================================================
<font color="#FF6600">--- packages/openssl/openssl_0.9.8g.bb        e326706f63f853e3243bfc002f2f8d924885404d</font>
<font color="#009900">+++ packages/openssl/openssl_0.9.8g.bb        e326706f63f853e3243bfc002f2f8d924885404d</font>
<font color="#0000FF">@@ -0,0 +1,10 @@</font>
<font color="#009900">+inherit pkgconfig</font>
<font color="#009900">+</font>
<font color="#009900">+require openssl.inc</font>
<font color="#009900">+</font>
<font color="#009900">+PR = "r6"</font>
<font color="#009900">+</font>
<font color="#009900">+SRC_URI += "file://debian.patch;patch=1 \</font>
<font color="#009900">+            file://configure-targets.patch;patch=1"</font>
<font color="#009900">+</font>
<font color="#009900">+PARALLEL_MAKE = ""</font>
============================================================
<font color="#FF6600">--- conf/checksums.ini        d77d67963ac6841ccdbae0026f82f72e3e7d014c</font>
<font color="#009900">+++ conf/checksums.ini        b64a88ec68ec8639f2e34a1c41503b49a393399e</font>
<font color="#0000FF">@@ -8922,6 +8922,10 @@ sha256=c98b9703887e2dda6217b91405d0d9488</font>
 md5=74a4d1b87e1e6e1ec95dbe58cb4c5b9a
 sha256=c98b9703887e2dda6217b91405d0d94883f7c67e205fc4d7a81bb690d2e10572
 
<font color="#009900">+[http://www.openssl.org/source/openssl-0.9.8g.tar.gz]</font>
<font color="#009900">+md5=acf70a16359bf3658bdfb74bda1c4419</font>
<font color="#009900">+sha256=0e26886845de95716c9f1b9b75c0e06e9d4075d2bdc9e11504eaa5f7ee901cf0</font>
<font color="#009900">+</font>
 [http://www.openswan.org/download/old/openswan-2.2.0-kernel-2.4-klips.patch.gz]
 md5=5c54040bba6fea2bfb47df01056e953f
 sha256=d35213dc854f1e1a08512154c7a92fb94d9f0506cc5107f8b2f248412679fb53
</tt></pre>