diff options
author | Martin Schanzenbach <schanzen@gnunet.org> | 2022-08-31 18:18:49 +0200 |
---|---|---|
committer | Martin Schanzenbach <schanzen@gnunet.org> | 2022-08-31 18:18:49 +0200 |
commit | de09c89d54d2760a2a53729290554b835cadcaee (patch) | |
tree | 8e2fed8a66a8e4a0476733159daeb61d3535656b /src/reclaim | |
parent | fd8d41f2c246bffb983e0a1195ea368ce440208c (diff) | |
download | gnunet-de09c89d54d2760a2a53729290554b835cadcaee.tar.gz gnunet-de09c89d54d2760a2a53729290554b835cadcaee.zip |
-actually change method name
Diffstat (limited to 'src/reclaim')
-rw-r--r-- | src/reclaim/did.h | 4 | ||||
-rw-r--r-- | src/reclaim/did_helper.h | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/reclaim/did.h b/src/reclaim/did.h index 4a3778f9d..fc465da3b 100644 --- a/src/reclaim/did.h +++ b/src/reclaim/did.h | |||
@@ -25,7 +25,7 @@ | |||
25 | 25 | ||
26 | /** | 26 | /** |
27 | * Create a DID string from an ego in the format | 27 | * Create a DID string from an ego in the format |
28 | * did:reclaim:<pubkey> | 28 | * did:gns:<pubkey> |
29 | * | 29 | * |
30 | * @param ego the Ego to use | 30 | * @param ego the Ego to use |
31 | * @return the DID string | 31 | * @return the DID string |
@@ -36,7 +36,7 @@ DID_ego_to_did (struct GNUNET_IDENTITY_Ego *ego); | |||
36 | 36 | ||
37 | /** | 37 | /** |
38 | * Extract the public key from a DID | 38 | * Extract the public key from a DID |
39 | * in the format did:reclaim:<pubkey> | 39 | * in the format did:gns:<pubkey> |
40 | * | 40 | * |
41 | * @param did the DID parse | 41 | * @param did the DID parse |
42 | * @param pk where to store the public key | 42 | * @param pk where to store the public key |
diff --git a/src/reclaim/did_helper.h b/src/reclaim/did_helper.h index c3ee457af..5cad48ca8 100644 --- a/src/reclaim/did_helper.h +++ b/src/reclaim/did_helper.h | |||
@@ -24,7 +24,7 @@ | |||
24 | * @author Tristan Schwieren | 24 | * @author Tristan Schwieren |
25 | */ | 25 | */ |
26 | 26 | ||
27 | #define GNUNET_DID_METHOD_PREFIX "did:reclaim:" | 27 | #define GNUNET_DID_METHOD_PREFIX "did:gns:" |
28 | #define MAX_DID_SPECIFIC_IDENTIFIER_LENGTH 59 | 28 | #define MAX_DID_SPECIFIC_IDENTIFIER_LENGTH 59 |
29 | 29 | ||
30 | /** | 30 | /** |
@@ -71,4 +71,4 @@ DID_pkey_to_did_document (struct GNUNET_IDENTITY_PublicKey *pkey); | |||
71 | * @brief Generate the default DID document for a GNUNET ego | 71 | * @brief Generate the default DID document for a GNUNET ego |
72 | */ | 72 | */ |
73 | char * | 73 | char * |
74 | DID_identity_to_did_document (struct GNUNET_IDENTITY_Ego *ego); \ No newline at end of file | 74 | DID_identity_to_did_document (struct GNUNET_IDENTITY_Ego *ego); |