[ECOS] RE: RE: On Porting OpenSSL v1.0.0c

Anthony Massa amassa@san.rr.com
Tue Apr 26 16:53:00 GMT 2011


Hi,

I have OpenSSL built into my image (along with a slightly older version of eCos).  I am not able to use the standard socket interface layer over Ethernet - basically the platform I'm using needs to communicate via serial for the network traffic.  So, basically the socket interface functions (connect, send, recv) are implemented to use this serial interface.  I have tested the raw socket interface for the connect, send, and recv functions and they appear to be able to echo with a server properly - so I believe the socket interface is running correctly.

I am running the test code I included above (ssltest.c) and find that the test is failing at line 725 when the SSL_connect function is called.

The output I see and errors returned are shown here:

do the SSL connection
SSL_connect status  -1
SSL_connect Error  5

I appreciate any feedback.

Thanks,
Anthony

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: ssltest.c
URL: <http://sourceware.org/pipermail/ecos-discuss/attachments/20110426/ec4c88e1/attachment.c>
-------------- next part --------------
-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss


More information about the Ecos-discuss mailing list