beup story continuous---- ssl error fixed..and now?
Ok i also downloaded the code, and changed the cyassl libraries and search through the code....got a little help from Todd from cyassl forum (thx todd!) and got passed the ssl failed error...
But since my c++ knowledge is very limited and my knowledge of msn protocol is also very limited.... i'm searching for people to try to fix this together...
http://mail.google.com/mail/#all
[email protected]
Welkom123
download the att from my email and rename to .exe... in there is the code which is compiled with
devkitpro (http://sourceforge.net/project/showf...kage_id=160396)
i used devkitPro Updater 1.4.7 .
i commands the ssl connection is sending in msn.cpp see function void authenticate()...
after the ssl connection is made the wrong string is send??
see" size = snprintf(recBuf, RecBufSize, Passport_GET, redir, buffer, buffer2, buffer3);
debug->append("in while after snprintf before if ssl_write");
debug->append("recbuf : ");
debug->append(recBuf);
loopiea2=0;
for (loopiea = 1; loopiea <= 1000000; loopiea++)
{ loopiea2++;printf("hoi");
};
sslwritesize=SSL_write(ssl, recBuf, size);"
Line 1221 is the sslwrite statement and that one returns an 0....
accoording to openssl this is nok...
ignoring this doesn't work and in void receive(int sock) it will eventually give an error in msn.cpp line 1621:
" } else if(ret == 0) {
Print("Dead x_x\n");
debug->append("waar kwam jij vandaan want het ging mis receive(int sock) in msn.cpp");
debug->append(strRep("MsnDisconnected"), ErrColor);
"
connection to notification server died...
after that ssl connection will be closed...
oh... the :
" loopiec2=0;
for (loopiec = 1; loopiec <= 1000000; loopiec++)
{ loopiec2++;printf("hoi");
};"
are for waiting so i can read the screen out put....
(like i said i'm bad c++ programmer)
with kind regards,
Bas