I tried to Cc this to <[EMAIL PROTECTED]>, but it bounced.
I'll re-try with <[EMAIL PROTECTED]>.
You don't happen to use sendmail, do you?

    Martin
-- 
<[EMAIL PROTECTED]>      |        Siemens Information and
Phone: +49-89-636-46021               |        Communication  Products
FAX:   +49-89-636-47816               |        81730  Munich,  Germany


On Fri, May 14, 1999 at 05:44:02PM +0200, Louis Kotze wrote:
> Hi Martin,
> 
> I am about to embark of porting OpenSSL to the OS/390 platform, as
> EBCDIC is mainly used for the IBM world, 
> I am curious as to porting you have done and if it is for the OS/390
> platform can I get any assistance ?

I have not ported to an IBM platform, but to Siemens' own BS2000
mainframe operating system. However, the port is a "generic" port
insofar as it (I hope) nails down every place in OpenSSL which is
ASCII-based (i.e., where assumptions are hardwired into the code
which only hold for ASCII platforms). At these code spots, a
conversion routine is called to convert between ASCII and EBCDIC.
[Internally, the data structures are kept in ASCII form to reduce
redundant conversions. Only when the external representation of
certificate objects is required, is the respective conversion
routine called. Therefore, all checksum operations etc. result in
the same values as for a native ascii platform.]

All you will need to change for IBM platforms is this:

* wait until I submit the patches to the OpenSSL list ;-)

* get the IBM EBCDIC-to-ASCII table out of the Apache source code
  (it differs slightly from the BS2000 EBCDIC table I used) and
  add it to crypto/ebcdic.c (I might do that myself)

* modify config and Configure to detect your machine/platform

* Add a #define CHARSET_EBCDIC to the Configuration line
  for your machine/platform

Thatīs about all.

Currently, I'm busy moving to a new house, so bear with me - I don't have
the time right now.

    Martin
-- 
<[EMAIL PROTECTED]>      |        Siemens Information and
Phone: +49-89-636-46021               |        Communication  Products
FAX:   +49-89-636-47816               |        81730  Munich,  Germany


Reply via email to