
----------------------------
 Changed files by directory
----------------------------

This file contains a summary of the file changes required for the AS/400 port
of OpenSSL version 0.9.8e.

The file changes consist of a consolidation of the existing patches:
   701: OpenSSL support for iSeries (OS/400) (known below as the first AS/400
        patch)
   843: EBCDIC patches for 0.9.7c (known below as the EBCDIC patch)

A previous consolidation for OpenSSL version 0.9.7d was done in:
   967: New port to the AS/400 (iSeries)

This consolidation was updated by:
   1008: Default CRYPTO_thread_id for AS/400 causes SSL3_AD_BAD_RECORD_MAC
        (known below as the second AS/400 patch)

Detailed descriptions are only given for those changes that are not already
included in the existing patches.

All changes should be compatible with other development platforms, and are
certainly compatible with AIX, HP, HP Itanium, S/390 Linux, Solaris, Tru64 and
Windows platforms.


config
   Added automatic identification of OS/400.

Configure
   Replaced first AS/400 patch with a new set of configurations.
   Added functionality to allow quotes in the CFLAGS component of a
   configuration definition.

e_os2.h
   Applied first AS/400 patch, but replaced deprecated OPENSSL_SYSNAME_OS400
   with __ILEC400__.

Makefile.org
   Rejected first AS/400 patch.  OUTPUTDIR should be separately defined.
   Added functionality to allow quotes in the CFLAGS component of a
   configuration definition.

Makefile.shared
   Added functionality to support AS/400 shared libraries (service programs).

apps/apps.c
apps/apps.h
   Added replacement for the rename function for the AS/400.

apps/ca.c
   Applied first AS/400 and EBCDIC patches

apps/CA.sh
   Added creation of default random data file.
   Added conversion of serial file to EBCDIC.

apps/enc.c
   Applied EBCDIC patch, with added null pointer protection.

apps/speed.c
apps/s_time.c
   Applied first AS/400 patch.

apps/verify.c
   Added modification to file open.

crypto/cryptlib.c
   Applied second AS/400 patch, with an additional include.

crypto/ebcdic.c
   Replaced first AS/400 patch with improved version, defining conversion
   tables for both CCSID 37 and 500.

crypto/Makefile
   Added functionality to allow quotes in the CFLAGS component of a
   configuration definition.

crypto/tmdiff.c
   Applied first AS/400 patch.

crypto/asn1/a_gentm.c
crypto/asn1/a_print.c
crypto/asn1/asn1_par.c
crypto/asn1/a_strex.c
crypto/asn1/a_time.c
   Applied EBCDIC patch.

crypto/asn1/a_utctm.c
   Applied EBCDIC patch, with redundant printfs removed.

crypto/asn1/t_x509.c
   Applied EBCDIC patch.

crypto/bio/b_sock.c
   Applied first AS/400 patch.

crypto/bio/bss_dgram.c
   Added AS/400-specific type definitions.

crypto/bio/bss_file.c
   Applied first AS/400 patch.

crypto/ecdsa/ecdsatest.c
   Added EBCDIC to ASCII test data conversions.

crypto/md2/md2test.c
crypto/md4/md4test.c
crypto/md5/md5test.c
   Rejected first AS/400 patch, replaced by similar modification in the EBCDIC
   patch.

crypto/pem/pem_lib.c
   Applied EBCDIC patch.

crypto/rand/rand_unix.c
   Applied first AS/400 patch.

crypto/sha/sha256t.c
crypto/sha/sha512t.c
   Added EBCDIC to ASCII test data conversions.

crypto/ui/ui_openssl.c
   Applied first AS/400 patch.

crypto/x509/by_file.c
   Added modification to file open.

crypto/x509/x509_vfy.c
   Applied EBCDIC patch.

crypto/x509v3/v3_alt.c
   Applied EBCDIC patch, with corrections.

crypto/x509v3/v3_enum.c
crypto/x509v3/v3_prn.c
crypto/x509v3/v3_utl.c
   Applied EBCDIC patch.

test/Makefile
   Added code to execute shell scripts on the AS/400.

test/tcrl
test/testenc
test/tpkcs7
test/tpkcs7d
test/treq
test/trsa
test/tsid
test/tx509
   Applied first AS/400 patch, with some additions to ensure that output is
   created correctly.

util/opensslwrap.sh
   Added code to resolve path to openssl correctly.

util/shlib_wrap.sh
   Added code to add OS/400 service programs to library list.

