aboutsummaryrefslogtreecommitdiff
path: root/src/experimentation
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2013-09-13 12:00:01 +0000
committerChristian Grothoff <christian@grothoff.org>2013-09-13 12:00:01 +0000
commita35c5a11d32bdd0bc24f64de36fbc6b0d0b20aae (patch)
treeb7768c5cb22e8a4f84d51cbd06dc04861fdb8510 /src/experimentation
parent95d42fdcb47eedcf2747614a22dacd676bc7faae (diff)
downloadgnunet-a35c5a11d32bdd0bc24f64de36fbc6b0d0b20aae.tar.gz
gnunet-a35c5a11d32bdd0bc24f64de36fbc6b0d0b20aae.zip
splitting 'struct GNUNET_CRYPTO_EccPublicKey' into one struct for signing and another for encryption
Diffstat (limited to 'src/experimentation')
-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 {