I\'m using MS Detours and everything is ok when I hook the function like this:
int Detour_SSL_connect(SSL* s) { unsigned char* masterKey = s->session-&