Introduce and use function typedef pem_password_cb so that we don't call