Hi all,
I haven't understood exactly the reason of this callback and I'd like to know if it's for what I need. The callback is related with key exchange. If this callback is not set, the openssl uses the private key stored into ssl or ctx structure for decrypting the session key exchanged. If hthis callback is set, the openssl calls the callback and the application should do this job. Am I rigth? If it does, could you explain how to use the parameters? If it doesn't, is there any way of doing what I thought it was? Last question, is this page actual? http://www.openssl.org/docs/ssl/SSL_CTX_set_psk_client_callback.html# Thanks! Leonardo