[[EMAIL PROTECTED] - Thu Aug 29 09:12:28 2002]:

> Ok, so after getting past the previous problems, the testca script
> failed.
> Fixing this last problem allows the tests to successfully run to
> completion.
> The problem was that the ca app didn't like the result it got from
> ASN1_PRINTABLE_type() (apps/ca.c, line 1586) because the
> ASN1_PRINTABLE_type
> function had been modified to expect EBCDIC strings, and the string
> being
> tested is in ASCII. Since passing EBCDIC strings to a function 
named
> "ASN1_PRINTABLE_type" doesn't make a lot of sense to me, I chose to
> remove
> the EBCDIC part from crypto/asn1/a_print.c:

It does make sense.  If you look up the other reference to it in 
apps/ca.c, you'll see that it gets called with data coming from the 
configuration file.  The configuration might be coded in EBCDIC.

Changing this might become a larger can of worms than I think I'm 
willing to put in right now.  We really need to design a better way 
to handle this, so we are absolutely certain we know what we have at 
all times.  Right now, I can't say I'm sure what's what...

-- 
Richard Levitte
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to