aboutsummaryrefslogtreecommitdiff
path: root/src/experimentation/gnunet-daemon-experimentation_experiments.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/experimentation/gnunet-daemon-experimentation_experiments.c')
-rw-r--r--src/experimentation/gnunet-daemon-experimentation_experiments.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/experimentation/gnunet-daemon-experimentation_experiments.c b/src/experimentation/gnunet-daemon-experimentation_experiments.c
index 01d8fa816..c787c3416 100644
--- a/src/experimentation/gnunet-daemon-experimentation_experiments.c
+++ b/src/experimentation/gnunet-daemon-experimentation_experiments.c
@@ -38,7 +38,7 @@
38 */ 38 */
39struct Issuer 39struct Issuer
40{ 40{
41 struct GNUNET_CRYPTO_EccPublicKey pubkey; 41 struct GNUNET_CRYPTO_EccPublicSignKey pubkey;
42}; 42};
43 43
44 44
@@ -409,7 +409,7 @@ GED_experiments_start ()
409 char *pubkey; 409 char *pubkey;
410 char *pos; 410 char *pos;
411 struct GNUNET_PeerIdentity issuer_ID; 411 struct GNUNET_PeerIdentity issuer_ID;
412 struct GNUNET_CRYPTO_EccPublicKey pub; 412 struct GNUNET_CRYPTO_EccPublicSignKey pub;
413 struct GNUNET_HashCode hash; 413 struct GNUNET_HashCode hash;
414 414
415 /* Load valid issuer */ 415 /* Load valid issuer */
@@ -448,7 +448,7 @@ GED_experiments_start ()
448 448
449 if (GNUNET_OK == GNUNET_CONFIGURATION_get_value_string (GED_cfg, "EXPERIMENTATION", "PUBKEY", &pubkey)) 449 if (GNUNET_OK == GNUNET_CONFIGURATION_get_value_string (GED_cfg, "EXPERIMENTATION", "PUBKEY", &pubkey))
450 { 450 {
451 if (GNUNET_OK != GNUNET_CRYPTO_ecc_public_key_from_string(pubkey, strlen (pubkey), &pub)) 451 if (GNUNET_OK != GNUNET_CRYPTO_ecc_public_sign_key_from_string(pubkey, strlen (pubkey), &pub))
452 GNUNET_log (GNUNET_ERROR_TYPE_ERROR, _("Invalid public key `%s'\n"), pubkey); 452 GNUNET_log (GNUNET_ERROR_TYPE_ERROR, _("Invalid public key `%s'\n"), pubkey);
453 else 453 else
454 { 454 {