[#SSL_CTX_set_default_passwd_cb] = SSL_CTX_set_default_passwd_cb :mrdocs: Set the default password callback used when loading encrypted PEM material into a context. == Synopsis Declared in `<openssl/ssl.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void SSL_CTX_set_default_passwd_cb( xref:SSL_CTX.adoc[SSL_CTX]* ctx, xref:pem_password_cb.adoc[pem_password_cb]* cb); ---- == Parameters [cols="1,4"] |=== | Name| Description | *ctx* | SSL context whose PEM password callback is replaced. | *cb* | Password callback (see pem_password_cb), or NULL to clear. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#