diff options
Diffstat (limited to 'src/credential/plugin_gnsrecord_credential.c')
-rw-r--r-- | src/credential/plugin_gnsrecord_credential.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/credential/plugin_gnsrecord_credential.c b/src/credential/plugin_gnsrecord_credential.c index 9207aa7ad..134153c13 100644 --- a/src/credential/plugin_gnsrecord_credential.c +++ b/src/credential/plugin_gnsrecord_credential.c | |||
@@ -162,7 +162,7 @@ credential_string_to_value(void *cls, uint32_t type, const char *s, | |||
162 | *data_size = sizeof(struct GNUNET_CREDENTIAL_DelegationRecord); | 162 | *data_size = sizeof(struct GNUNET_CREDENTIAL_DelegationRecord); |
163 | while (NULL != token) | 163 | while (NULL != token) |
164 | { | 164 | { |
165 | matches = SSCANF(token, "%s %s", subject_pkey, attr_str); | 165 | matches = sscanf(token, "%s %s", subject_pkey, attr_str); |
166 | if (0 == matches) | 166 | if (0 == matches) |
167 | { | 167 | { |
168 | GNUNET_log(GNUNET_ERROR_TYPE_ERROR, | 168 | GNUNET_log(GNUNET_ERROR_TYPE_ERROR, |
@@ -195,7 +195,7 @@ credential_string_to_value(void *cls, uint32_t type, const char *s, | |||
195 | memset(set, 0, sizeof(struct GNUNET_CREDENTIAL_DelegationSet) * entries); | 195 | memset(set, 0, sizeof(struct GNUNET_CREDENTIAL_DelegationSet) * entries); |
196 | for (i = 0; i < entries; i++) | 196 | for (i = 0; i < entries; i++) |
197 | { | 197 | { |
198 | matches = SSCANF(token, "%s %s", subject_pkey, attr_str); | 198 | matches = sscanf(token, "%s %s", subject_pkey, attr_str); |
199 | GNUNET_CRYPTO_ecdsa_public_key_from_string( | 199 | GNUNET_CRYPTO_ecdsa_public_key_from_string( |
200 | subject_pkey, strlen(subject_pkey), &set[i].subject_key); | 200 | subject_pkey, strlen(subject_pkey), &set[i].subject_key); |
201 | if (2 == matches) | 201 | if (2 == matches) |