Cleanup, additional input checks, renaming, simplification:
authorAndreas Ebner <pansy007@googlemail.com>
Tue, 9 Jul 2019 15:53:33 +0000 (17:53 +0200)
committerSchanzenbach, Martin <mschanzenbach@posteo.de>
Mon, 7 Oct 2019 10:15:06 +0000 (12:15 +0200)
commit5091edcec16455febee99afec20e0ffe6cc59c21
treec7d517e26ca7d3d4f863b4154361293bc79d733e
parentfc58d9d4241ed2dcd4b492b4f922ba959449a697
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
src/credential/Makefile.am
src/credential/credential.h
src/credential/credential_api.c
src/credential/credential_serialization.c
src/credential/delegate.h [deleted file]
src/credential/delegate_misc.c
src/credential/gnunet-credential.c
src/credential/test_credential_own.sh
src/include/gnunet_signatures.h