diff options
author | Christian Grothoff <christian@grothoff.org> | 2023-01-10 13:35:57 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2023-01-10 13:35:57 +0100 |
commit | b41ffd1a1af24efc244f7ed95dcc13c4b77bc56e (patch) | |
tree | 06d81e0be1bdf1b3c3455b29868f67891495967d /src/kyclogic | |
parent | ade221f9741aba5c8b3efdf022fd95b9f363b1d8 (diff) |
-more consistent naming of KYC_PERSONA options
Diffstat (limited to 'src/kyclogic')
-rw-r--r-- | src/kyclogic/plugin_kyclogic_persona.c | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/src/kyclogic/plugin_kyclogic_persona.c b/src/kyclogic/plugin_kyclogic_persona.c index 651388c99..d0ce3d05c 100644 --- a/src/kyclogic/plugin_kyclogic_persona.c +++ b/src/kyclogic/plugin_kyclogic_persona.c @@ -369,31 +369,31 @@ persona_load_configuration (void *cls, if (GNUNET_OK != GNUNET_CONFIGURATION_get_value_time (ps->cfg, provider_section_name, - "PERSONA_VALIDITY", + "KYC_PERSONA_VALIDITY", &pd->validity)) { GNUNET_log_config_missing (GNUNET_ERROR_TYPE_ERROR, provider_section_name, - "PERSONA_VALIDITY"); + "KYC_PERSONA_VALIDITY"); persona_unload_configuration (pd); return NULL; } if (GNUNET_OK != GNUNET_CONFIGURATION_get_value_string (ps->cfg, provider_section_name, - "PERSONA_AUTH_TOKEN", + "KYC_PERSONA_AUTH_TOKEN", &pd->auth_token)) { GNUNET_log_config_missing (GNUNET_ERROR_TYPE_ERROR, provider_section_name, - "PERSONA_AUTH_TOKEN"); + "KYC_PERSONA_AUTH_TOKEN"); persona_unload_configuration (pd); return NULL; } if (GNUNET_OK != GNUNET_CONFIGURATION_get_value_string (ps->cfg, provider_section_name, - "SALT", + "KYC_PERSONA_SALT", &pd->salt)) { uint32_t salt[8]; @@ -407,36 +407,36 @@ persona_load_configuration (void *cls, if (GNUNET_OK != GNUNET_CONFIGURATION_get_value_string (ps->cfg, provider_section_name, - "PERSONA_SUBDOMAIN", + "KYC_PERSONA_SUBDOMAIN", &pd->subdomain)) { GNUNET_log_config_missing (GNUNET_ERROR_TYPE_ERROR, provider_section_name, - "PERSONA_SUBDOMAIN"); + "KYC_PERSONA_SUBDOMAIN"); persona_unload_configuration (pd); return NULL; } if (GNUNET_OK != GNUNET_CONFIGURATION_get_value_string (ps->cfg, provider_section_name, - "KYC_POST_URL", + "KYC_PERSONA_POST_URL", &pd->post_kyc_redirect_url)) { GNUNET_log_config_missing (GNUNET_ERROR_TYPE_ERROR, provider_section_name, - "KYC_POST_URL"); + "KYC_PERSONA_POST_URL"); persona_unload_configuration (pd); return NULL; } if (GNUNET_OK != GNUNET_CONFIGURATION_get_value_string (ps->cfg, provider_section_name, - "PERSONA_TEMPLATE_ID", + "KYC_PERSONA_TEMPLATE_ID", &pd->template_id)) { GNUNET_log_config_missing (GNUNET_ERROR_TYPE_ERROR, provider_section_name, - "PERSONA_TEMPLATE_ID"); + "KYC_PERSONA_TEMPLATE_ID"); persona_unload_configuration (pd); return NULL; } |