diff options
author | Martin Schanzenbach <mschanzenbach@posteo.de> | 2020-09-04 04:07:46 +0200 |
---|---|---|
committer | Martin Schanzenbach <mschanzenbach@posteo.de> | 2020-09-04 04:07:46 +0200 |
commit | 538277ed86693dcd8b7edc7f53d197709b65390a (patch) | |
tree | 5ed4da092745e3e32d0cbd1a8ab63ea9e10d48b6 /src/reclaim | |
parent | 3ec73fc6825c6a0bd2a51364f8f8849245c89e25 (diff) | |
download | gnunet-538277ed86693dcd8b7edc7f53d197709b65390a.tar.gz gnunet-538277ed86693dcd8b7edc7f53d197709b65390a.zip |
reclaim: fix cli parameter name for credential ID
Diffstat (limited to 'src/reclaim')
-rw-r--r-- | src/reclaim/gnunet-reclaim.c | 2 | ||||
-rw-r--r-- | src/reclaim/plugin_reclaim_credential_jwt.c | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/reclaim/gnunet-reclaim.c b/src/reclaim/gnunet-reclaim.c index ab281a645..b9306b802 100644 --- a/src/reclaim/gnunet-reclaim.c +++ b/src/reclaim/gnunet-reclaim.c | |||
@@ -862,7 +862,7 @@ main (int argc, char *const argv[]) | |||
862 | gettext_noop ("List credentials for EGO"), | 862 | gettext_noop ("List credentials for EGO"), |
863 | &list_credentials), | 863 | &list_credentials), |
864 | GNUNET_GETOPT_option_string ('I', | 864 | GNUNET_GETOPT_option_string ('I', |
865 | "Credential ID", | 865 | "credential-id", |
866 | "CREDENTIAL_ID", | 866 | "CREDENTIAL_ID", |
867 | gettext_noop ( | 867 | gettext_noop ( |
868 | "Credential to use for attribute"), | 868 | "Credential to use for attribute"), |
diff --git a/src/reclaim/plugin_reclaim_credential_jwt.c b/src/reclaim/plugin_reclaim_credential_jwt.c index 148865223..6f52f3a4e 100644 --- a/src/reclaim/plugin_reclaim_credential_jwt.c +++ b/src/reclaim/plugin_reclaim_credential_jwt.c | |||
@@ -177,6 +177,8 @@ jwt_parse_attributes (void *cls, | |||
177 | json_object_foreach (json_val, key, value) { | 177 | json_object_foreach (json_val, key, value) { |
178 | if (0 == strcmp ("iss", key)) | 178 | if (0 == strcmp ("iss", key)) |
179 | continue; | 179 | continue; |
180 | if (0 == strcmp ("jti", key)) | ||
181 | continue; | ||
180 | if (0 == strcmp ("exp", key)) | 182 | if (0 == strcmp ("exp", key)) |
181 | continue; | 183 | continue; |
182 | if (0 == strcmp ("iat", key)) | 184 | if (0 == strcmp ("iat", key)) |