diff options
author | jospaeth <spaethj@in.tum.de> | 2020-08-03 17:50:14 +0200 |
---|---|---|
committer | jospaeth <spaethj@in.tum.de> | 2020-08-03 17:50:14 +0200 |
commit | aaf439f8ca0dfb6ae503e3e4f7545c98f4e43d5a (patch) | |
tree | b91c876d02bad573072c422896ba935dcb4ba666 /src/escrow/plugin_escrow_plaintext.c | |
parent | 2822c5af3ef8f29ac2b5727ee3c13c6338852e58 (diff) | |
download | gnunet-aaf439f8ca0dfb6ae503e3e4f7545c98f4e43d5a.tar.gz gnunet-aaf439f8ca0dfb6ae503e3e4f7545c98f4e43d5a.zip |
minor fixes, test structure
Diffstat (limited to 'src/escrow/plugin_escrow_plaintext.c')
-rw-r--r-- | src/escrow/plugin_escrow_plaintext.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/escrow/plugin_escrow_plaintext.c b/src/escrow/plugin_escrow_plaintext.c index 5267b0916..b6de718e4 100644 --- a/src/escrow/plugin_escrow_plaintext.c +++ b/src/escrow/plugin_escrow_plaintext.c | |||
@@ -65,7 +65,7 @@ struct ESCROW_PlaintextPluginOperation | |||
65 | /** | 65 | /** |
66 | * Ego continuation wrapper | 66 | * Ego continuation wrapper |
67 | */ | 67 | */ |
68 | struct GNUNET_ESCROW_Plugin_EgoContinuationWrapper *ego_cont_wrap; | 68 | struct ESCROW_Plugin_EgoContinuationWrapper *ego_cont_wrap; |
69 | }; | 69 | }; |
70 | 70 | ||
71 | /** | 71 | /** |
@@ -99,7 +99,7 @@ start_plaintext_key_escrow (struct GNUNET_ESCROW_Handle *h, | |||
99 | uint32_t anchorDataSize; | 99 | uint32_t anchorDataSize; |
100 | struct ESCROW_PluginOperationWrapper *plugin_op_wrap; | 100 | struct ESCROW_PluginOperationWrapper *plugin_op_wrap; |
101 | struct ESCROW_PlaintextPluginOperation *p_op; | 101 | struct ESCROW_PlaintextPluginOperation *p_op; |
102 | struct GNUNET_ESCROW_Plugin_AnchorContinuationWrapper *w; | 102 | struct ESCROW_Plugin_AnchorContinuationWrapper *w; |
103 | 103 | ||
104 | // create a new plaintext plugin operation (in a wrapper) and insert it into the DLL | 104 | // create a new plaintext plugin operation (in a wrapper) and insert it into the DLL |
105 | plugin_op_wrap = GNUNET_new (struct ESCROW_PluginOperationWrapper); | 105 | plugin_op_wrap = GNUNET_new (struct ESCROW_PluginOperationWrapper); |
@@ -111,7 +111,7 @@ start_plaintext_key_escrow (struct GNUNET_ESCROW_Handle *h, | |||
111 | p_op = (struct ESCROW_PlaintextPluginOperation *)plugin_op_wrap->plugin_op; | 111 | p_op = (struct ESCROW_PlaintextPluginOperation *)plugin_op_wrap->plugin_op; |
112 | p_op->h = h; | 112 | p_op->h = h; |
113 | 113 | ||
114 | w = GNUNET_new (struct GNUNET_ESCROW_Plugin_AnchorContinuationWrapper); | 114 | w = GNUNET_new (struct ESCROW_Plugin_AnchorContinuationWrapper); |
115 | w->h = h; | 115 | w->h = h; |
116 | 116 | ||
117 | if (NULL == ego) | 117 | if (NULL == ego) |
@@ -157,7 +157,7 @@ verify_plaintext_key_escrow (struct GNUNET_ESCROW_Handle *h, | |||
157 | int verificationResult; | 157 | int verificationResult; |
158 | struct ESCROW_PluginOperationWrapper *plugin_op_wrap; | 158 | struct ESCROW_PluginOperationWrapper *plugin_op_wrap; |
159 | struct ESCROW_PlaintextPluginOperation *p_op; | 159 | struct ESCROW_PlaintextPluginOperation *p_op; |
160 | struct GNUNET_ESCROW_Plugin_VerifyContinuationWrapper *w; | 160 | struct ESCROW_Plugin_VerifyContinuationWrapper *w; |
161 | 161 | ||
162 | // create a new plaintext plugin operation (in a wrapper) and insert it into the DLL | 162 | // create a new plaintext plugin operation (in a wrapper) and insert it into the DLL |
163 | plugin_op_wrap = GNUNET_new (struct ESCROW_PluginOperationWrapper); | 163 | plugin_op_wrap = GNUNET_new (struct ESCROW_PluginOperationWrapper); |
@@ -169,7 +169,7 @@ verify_plaintext_key_escrow (struct GNUNET_ESCROW_Handle *h, | |||
169 | p_op = (struct ESCROW_PlaintextPluginOperation *)plugin_op_wrap->plugin_op; | 169 | p_op = (struct ESCROW_PlaintextPluginOperation *)plugin_op_wrap->plugin_op; |
170 | p_op->h = h; | 170 | p_op->h = h; |
171 | 171 | ||
172 | w = GNUNET_new (struct GNUNET_ESCROW_Plugin_VerifyContinuationWrapper); | 172 | w = GNUNET_new (struct ESCROW_Plugin_VerifyContinuationWrapper); |
173 | w->h = h; | 173 | w->h = h; |
174 | 174 | ||
175 | if (NULL == ego) | 175 | if (NULL == ego) |
@@ -282,7 +282,7 @@ restore_plaintext_key_escrow (struct GNUNET_ESCROW_Handle *h, | |||
282 | struct GNUNET_IDENTITY_Operation *id_op; | 282 | struct GNUNET_IDENTITY_Operation *id_op; |
283 | struct ESCROW_PluginOperationWrapper *plugin_op_wrap; | 283 | struct ESCROW_PluginOperationWrapper *plugin_op_wrap; |
284 | struct ESCROW_PlaintextPluginOperation *p_op; | 284 | struct ESCROW_PlaintextPluginOperation *p_op; |
285 | struct GNUNET_ESCROW_Plugin_EgoContinuationWrapper *w; | 285 | struct ESCROW_Plugin_EgoContinuationWrapper *w; |
286 | 286 | ||
287 | // create a new plaintext plugin operation (in a wrapper) and insert it into the DLL | 287 | // create a new plaintext plugin operation (in a wrapper) and insert it into the DLL |
288 | plugin_op_wrap = GNUNET_new (struct ESCROW_PluginOperationWrapper); | 288 | plugin_op_wrap = GNUNET_new (struct ESCROW_PluginOperationWrapper); |
@@ -296,7 +296,7 @@ restore_plaintext_key_escrow (struct GNUNET_ESCROW_Handle *h, | |||
296 | // set cont here (has to be scheduled from the IDENTITY service when it finished) | 296 | // set cont here (has to be scheduled from the IDENTITY service when it finished) |
297 | p_op->cont = cb; | 297 | p_op->cont = cb; |
298 | 298 | ||
299 | w = GNUNET_new (struct GNUNET_ESCROW_Plugin_EgoContinuationWrapper); | 299 | w = GNUNET_new (struct ESCROW_Plugin_EgoContinuationWrapper); |
300 | w->h = h; | 300 | w->h = h; |
301 | 301 | ||
302 | p_op->ego_cont_wrap = w; | 302 | p_op->ego_cont_wrap = w; |