aboutsummaryrefslogtreecommitdiff
path: root/src/regex/gnunet-service-regex.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2013-10-10 14:38:55 +0000
committerChristian Grothoff <christian@grothoff.org>2013-10-10 14:38:55 +0000
commit9351b1e9bdf2b067b6db06562c26ba658cff42b8 (patch)
tree68dc4ab447e7e8b6a20a706858cd36238c1c7c5f /src/regex/gnunet-service-regex.c
parent8beabcd96c0cf1e1873c0b5ff96e537f1beb0b34 (diff)
downloadgnunet-9351b1e9bdf2b067b6db06562c26ba658cff42b8.tar.gz
gnunet-9351b1e9bdf2b067b6db06562c26ba658cff42b8.zip
separating ECC crypto into functions/structs for ECDHE, ECDSA and EDDSA
Diffstat (limited to 'src/regex/gnunet-service-regex.c')
-rw-r--r--src/regex/gnunet-service-regex.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/regex/gnunet-service-regex.c b/src/regex/gnunet-service-regex.c
index 620086b15..cc32c46de 100644
--- a/src/regex/gnunet-service-regex.c
+++ b/src/regex/gnunet-service-regex.c
@@ -102,7 +102,7 @@ static struct GNUNET_SERVER_NotificationContext *nc;
102/** 102/**
103 * Private key for this peer. 103 * Private key for this peer.
104 */ 104 */
105static struct GNUNET_CRYPTO_EccPrivateKey *my_private_key; 105static struct GNUNET_CRYPTO_EddsaPrivateKey *my_private_key;
106 106
107 107
108/** 108/**
@@ -362,7 +362,7 @@ run (void *cls, struct GNUNET_SERVER_Handle *server,
362 {NULL, NULL, 0, 0} 362 {NULL, NULL, 0, 0}
363 }; 363 };
364 364
365 my_private_key = GNUNET_CRYPTO_ecc_key_create_from_configuration (cfg); 365 my_private_key = GNUNET_CRYPTO_eddsa_key_create_from_configuration (cfg);
366 if (NULL == my_private_key) 366 if (NULL == my_private_key)
367 { 367 {
368 GNUNET_SCHEDULER_shutdown (); 368 GNUNET_SCHEDULER_shutdown ();