To further clarify:

The error is a result of a call to BIO_do_connect();
Prior to that call, I make a call to sprintf("%s:%d"); (no newlines
involved).

I'll try substituting the sprintf for a more ubiquitous process and let you
know. Any further ideas on the matter?

-----Original Message-----
From: owner-openssl-us...@openssl.org
[mailto:owner-openssl-us...@openssl.org] On Behalf Of Pierre DELAAGE
Sent: Monday, October 04, 2010 3:25 PM
To: openssl-users@openssl.org
Subject: Re: Hello!

I do not know anything about OpenVMS and Solaris,
BUT big endian / little endian and improper use of htons in YOUR software
could explain many things.

You should check also \r and \r \n issue, even if not reading any file,
because it may be in cause in "fprintf(fd, "xxxx \n");
\n being expanded differently on some platforms.

Hope this may help,
Pierre

Le 04/10/2010 21:09, irivas a écrit :
>> I have a tiny software written to communicate with an http server; on a
>> Solaris system it works alright, but on an OpenVMS system I'm getting
>>      
> these
>    
>> errors:
>>
>> 545318540:error:0D07809F:asn1 encoding
>>      
> routines:ASN1_ITEM_EX_D2I:unexpected
>    
>> eoc:TASN_DEC:337:Type=X509_ALGOR
>> 545318540:error:0D08303A:asn1 encoding routines:ASN1_TEMPLATE_D2I:nested
>> asn1 error:TASN_DEC:566:Field=sig_alg, Type=X509
>> 545318540:error:1409000D:SSL routines:SSL3_GET_SERVER_CERTIFICATE:ASN1
>> lib:S3_CLNT:816:$!
>>
>> Any ideas? Where and what should I look for to fix this?
>>
>>      
> First thought - line endings.
> At least with local text file storage, OpenVMS provides cr-lf on reads.
> Solaris uses lf
>
> Could this somehow be related to your problem over-the-wire?
>
> I don't really think so -- I'm not reading from any files at the point
this
> error occurs.
>
>
> ______________________________________________________________________
> OpenSSL Project                                 http://www.openssl.org
> User Support Mailing List                    openssl-users@openssl.org
> Automated List Manager                           majord...@openssl.org
>    

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org


______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to