* Leo Leo <lafa...@yahoo.com.br> [2013-07-17 13:57]:
> I haven't understood exactly the reason of this callback and I'd like to
> know if it's for what I need.

The purpose of this callback is to provide OpenSSL with the PSK identity
and the pre-shared key to use.

> could you explain how to use the parameters?

The man page explains it quite well.  Here's a real-world example:

https://www.nsca-ng.org/cgi-bin/repository/nsca-ng/tree/src/client/auth.c

> Last question, is this page actual?
>
> http://www.openssl.org/docs/ssl/SSL_CTX_set_psk_client_callback.html

It's accurate and up to date, yes.

Holger
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to