> BLAH b; > b.blah = 12345; > > SSL_SESSION *session = SSL_get_session(ssl); > SSL_SESSION_set_ex_data(session, my_data_idx, &b); > SSL_set_session(ssl, sess); Is "b" a stack variable? You should malloc it. -- Senior Architect, Akamai Technologies IM: richsalz at jabber.at Twitter: RichSalz