diff options
author | Christian Grothoff <christian@grothoff.org> | 2013-09-16 07:49:27 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2013-09-16 07:49:27 +0000 |
commit | d9e805e67df18b35711f3aa04f3d27455b6b7dbf (patch) | |
tree | 6cd02986829dec4a17090d8f8a974f392055ba21 /src/core | |
parent | a7bb525278fcf8a29daa8f841e99515dba690d09 (diff) | |
download | gnunet-d9e805e67df18b35711f3aa04f3d27455b6b7dbf.tar.gz gnunet-d9e805e67df18b35711f3aa04f3d27455b6b7dbf.zip |
-fix compiler warnings
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/gnunet-service-core_kx.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/gnunet-service-core_kx.c b/src/core/gnunet-service-core_kx.c index 6c6b8f07a..19c8d7710 100644 --- a/src/core/gnunet-service-core_kx.c +++ b/src/core/gnunet-service-core_kx.c | |||
@@ -111,7 +111,7 @@ struct EphemeralKeyMessage | |||
111 | * Ephemeral public ECC key (always for NIST P-521) encoded in a format suitable | 111 | * Ephemeral public ECC key (always for NIST P-521) encoded in a format suitable |
112 | * for network transmission as created using 'gcry_sexp_sprint'. | 112 | * for network transmission as created using 'gcry_sexp_sprint'. |
113 | */ | 113 | */ |
114 | struct GNUNET_CRYPTO_EccPublicSignKey ephemeral_key; | 114 | struct GNUNET_CRYPTO_EccPublicEncryptKey ephemeral_key; |
115 | 115 | ||
116 | /** | 116 | /** |
117 | * Public key of the signing peer (persistent version, not the ephemeral public key). | 117 | * Public key of the signing peer (persistent version, not the ephemeral public key). |
@@ -1492,8 +1492,8 @@ sign_ephemeral_key () | |||
1492 | { | 1492 | { |
1493 | current_ekm.expiration_time = GNUNET_TIME_absolute_hton (GNUNET_TIME_UNIT_FOREVER_ABS); | 1493 | current_ekm.expiration_time = GNUNET_TIME_absolute_hton (GNUNET_TIME_UNIT_FOREVER_ABS); |
1494 | } | 1494 | } |
1495 | GNUNET_CRYPTO_ecc_key_get_public_for_signature (my_ephemeral_key, | 1495 | GNUNET_CRYPTO_ecc_key_get_public_for_encryption (my_ephemeral_key, |
1496 | ¤t_ekm.ephemeral_key); | 1496 | ¤t_ekm.ephemeral_key); |
1497 | current_ekm.origin_public_key = my_public_key; | 1497 | current_ekm.origin_public_key = my_public_key; |
1498 | GNUNET_assert (GNUNET_OK == | 1498 | GNUNET_assert (GNUNET_OK == |
1499 | GNUNET_CRYPTO_ecc_sign (my_private_key, | 1499 | GNUNET_CRYPTO_ecc_sign (my_private_key, |