diff options
author | Andreas Ebner <pansy007@googlemail.com> | 2019-07-09 17:53:33 +0200 |
---|---|---|
committer | Schanzenbach, Martin <mschanzenbach@posteo.de> | 2019-10-07 12:15:06 +0200 |
commit | 5091edcec16455febee99afec20e0ffe6cc59c21 (patch) | |
tree | c7d517e26ca7d3d4f863b4154361293bc79d733e /src/credential/credential_api.c | |
parent | fc58d9d4241ed2dcd4b492b4f922ba959449a697 (diff) | |
download | gnunet-5091edcec16455febee99afec20e0ffe6cc59c21.tar.gz gnunet-5091edcec16455febee99afec20e0ffe6cc59c21.zip |
Cleanup, additional input checks, renaming, simplification:
- introducing own GNUNET_SIGNATURE_PURPOSE_DELEGATE
- renaming of cred/crd in delegation_misc.c
- renamed extension cmd para to import
- changed subject key/attr parsing from memcpy/malloc to strtok
- only allow to create delegates to expire absolute not relative (prevent reusing created delegation signatures)
- check subject key and reuse expiration of import/signed delegation
- replaced strdup() part of delegation_misc.c and credential_serialization.c with pointers
- uncommented return after detection of unverifyable signatures
Diffstat (limited to 'src/credential/credential_api.c')
-rw-r--r-- | src/credential/credential_api.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/credential/credential_api.c b/src/credential/credential_api.c index be5ff25ae..3cbaf6c21 100644 --- a/src/credential/credential_api.c +++ b/src/credential/credential_api.c | |||
@@ -30,7 +30,6 @@ | |||
30 | #include "gnunet_protocols.h" | 30 | #include "gnunet_protocols.h" |
31 | #include "gnunet_signatures.h" | 31 | #include "gnunet_signatures.h" |
32 | #include "credential.h" | 32 | #include "credential.h" |
33 | #include "delegate.h" | ||
34 | #include "credential_serialization.h" | 33 | #include "credential_serialization.h" |
35 | #include "gnunet_credential_service.h" | 34 | #include "gnunet_credential_service.h" |
36 | #include "gnunet_identity_service.h" | 35 | #include "gnunet_identity_service.h" |