Handshake Failure due to bad record mac

2003-03-14 Thread rajagopalan ramanujam
hi, I am using a sample client appli on an embedded platform trying to connect to s_server on the linux. client code has set cipher(ALL); there is no client certificate. client side SSL_connect() return -1; Its very strange, some times client sends Alert message with bad mac code and some

Re: Handshake Failure due to bad record mac

2003-03-14 Thread rajagopalan ramanujam
Sorry!! SSL_connect is returning with SSL_ERROR_SYSCALL(5) not -1 as previously mentioned and i tried to look at errno it shows 0. Can anyone please point out where i am wrong? client() SSLeay_add_ssl_algorithms(); meth = SSLv3_client_method(); SSL_load_error_strings(); ctx = SSL_CTX_new