Hi All

OpenSsl collects passphrase through a callback function. The default
callback prompts the user on the terminal. There are two methods to
cancel this default:
SSL_CTX_set_default_passwd_cb // provide callback
SSL_CTX_set_default_passwd_cb_userdata

Could you please explain what is  the different between these two. I
wrote some example using either one. It seems it is working fine, but I
am not sure I understand deeply. Some examples combine both methods. I
do not know why. What happen if my application requires more than one
passphares? How do they which passphares go with which private keys. Can
I just use SSL_CTX_set_default_passwd_cb_userdata only ???

Thank You 
Thao Dinh

Reply via email to