Hi,
I figured out from yesterdays mail, I misstook the Finish handshake with the CertificateVerify.


I havn't got it to work completly yet and I just wanted to check if my RC4 encryption is wrong.
(using TLS_RSA_WITH_RC4_128_MD5)


I do like this
void EncryptRC4(unsigned char *pKey, int nKeyLen, unsigned char *pData, unsigned char *pRet)
{
RC4_KEY key;


        RC4_set_key(&key,nKeyLen, (const unsigned char *)&pKey);

        RC4(&key,32,pData,pRet);
}¨

where pKey is my master key (48 bytes) and pData contain the finish message and the hmac_md5 of the finish message.

would this be correct? then I can narrow down where the error is.

thanks!
/Niklas

_________________________________________________________________
Auktioner: Tjäna en hacka på gamla prylar http://tradera.msn.se

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to