Don't know if I'm missing something or if this is a bug.
It don't seem to be possible to set the PSK identity-hint per session.
If I set the identity-hint in a newly created SSL connection object it
is rejected because
there is no session associated connection yet (but the
SSL_use_psk_identity_hint() function returns success!)
Assuming that it was possible to set the identity-hint in the session
object, looking at the
ssl3_send_server_key_exchange() function it looks like it always takes
the identity-hint from the
context object anyway...
I'm using OpenSSL version 1.0.1i
/Leif
______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List openssl-users@openssl.org
Automated List Manager majord...@openssl.org