[Box Backup] TLS Handshake problem in my OS2 port

Dave Bamford boxbackup@fluffy.co.uk
Thu, 03 Nov 2005 09:31:18 +0000


Hi

I have sucessfully compiled the OS2 port of version 0.09
But I cannont get the client and server to Handshake
the error message I get is

[localhost] Nov  3 09:18:09 bbackupd[672]:
 TRACE: Exception thrown: ConnectionException(Conn_TLSHandshakeFailed) 
at SocketStreamTLS.cpp(230)

the relevant line is
            r = ::SSL_connect(mpSSL);

On further investigation I find that SSL_error is returning error 5 r=-1 
and the
error queue is 0
 From the docs this indicates a BIO problem, but I can't find it.
perhaps its in the socket implimentaion on OS2, somewhere between
WIN and Unix. However they must be partially working as it would never
have got that far.
I am stuck and I have asked for help from the OS2 porting community,
but perhaps there is someone on this list who may be able to help.

Thanks

Dave Bamford.