Hi Dave, On Fri, Aug 21, 2015 at 01:51:00PM +0000, Dave Zhu (yanbzhu) wrote: > >Code initially use 'ctx->default_passwd_callback_userdata' to allow us to > >manage a further way to manage passphrase via configuration. > > As far as I could tell, this field was not getting set anywhere in the > code. It¹s set with SSL_CTX_set_default_passwd_cb, which I did not find in > the codebase. I had then assumed that this was just a harmless copy/paste > of example code, which generally always use this CB.
FWIW, some users ask that we can load a cert's passphrase from a file, I was supposed to look at this but didn't have time, maybe the callback above would be what will be needed for this, though I have no idea yet. Willy