aboutsummaryrefslogtreecommitdiff
path: root/src/util/gnunet-ecc.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2013-08-21 15:34:18 +0000
committerChristian Grothoff <christian@grothoff.org>2013-08-21 15:34:18 +0000
commit65e91346db9fe4ca1b1ff6516872454c468eb7f2 (patch)
tree4228cfb2c3b628f6dd011f8b73075ecb86343217 /src/util/gnunet-ecc.c
parent47386fdbe2b5945fc2c319ef6899e3b67157d04f (diff)
downloadgnunet-65e91346db9fe4ca1b1ff6516872454c468eb7f2.tar.gz
gnunet-65e91346db9fe4ca1b1ff6516872454c468eb7f2.zip
removing GNUNET_CRYPTO_ecc_key_free, use GNUNET_free directly instead
Diffstat (limited to 'src/util/gnunet-ecc.c')
-rw-r--r--src/util/gnunet-ecc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/util/gnunet-ecc.c b/src/util/gnunet-ecc.c
index 103f8eff2..4f20d3208 100644
--- a/src/util/gnunet-ecc.c
+++ b/src/util/gnunet-ecc.c
@@ -82,10 +82,10 @@ create_keys (const char *fn)
82 _("\nFailed to write to `%s': %s\n"), 82 _("\nFailed to write to `%s': %s\n"),
83 fn, 83 fn,
84 STRERROR (errno)); 84 STRERROR (errno));
85 GNUNET_CRYPTO_ecc_key_free (pk); 85 GNUNET_free (pk);
86 break; 86 break;
87 } 87 }
88 GNUNET_CRYPTO_ecc_key_free (pk); 88 GNUNET_free (pk);
89 } 89 }
90 if (UINT_MAX == make_keys) 90 if (UINT_MAX == make_keys)
91 fprintf (stderr, 91 fprintf (stderr,
@@ -144,7 +144,7 @@ run (void *cls, char *const *args, const char *cfgfile,
144 GNUNET_CRYPTO_hash_to_enc (&pid.hashPubKey, &enc); 144 GNUNET_CRYPTO_hash_to_enc (&pid.hashPubKey, &enc);
145 fprintf (stdout, "%s\n", enc.encoding); 145 fprintf (stdout, "%s\n", enc.encoding);
146 } 146 }
147 GNUNET_CRYPTO_ecc_key_free (pk); 147 GNUNET_free (pk);
148} 148}
149 149
150 150