diff options
Diffstat (limited to 'src/gns/gnunet-gns-gtk.c')
-rw-r--r-- | src/gns/gnunet-gns-gtk.c | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/src/gns/gnunet-gns-gtk.c b/src/gns/gnunet-gns-gtk.c index 74906b83..99c5cae2 100644 --- a/src/gns/gnunet-gns-gtk.c +++ b/src/gns/gnunet-gns-gtk.c | |||
@@ -38,13 +38,6 @@ static int tray_only; | |||
38 | 38 | ||
39 | 39 | ||
40 | /** | 40 | /** |
41 | * Private key for the our zone. | ||
42 | */ | ||
43 | static struct GNUNET_CRYPTO_RsaPrivateKey *zone_pkey; | ||
44 | |||
45 | |||
46 | |||
47 | /** | ||
48 | * Name of our zone as a string. | 41 | * Name of our zone as a string. |
49 | */ | 42 | */ |
50 | static char *zone_as_string; | 43 | static char *zone_as_string; |
@@ -255,10 +248,10 @@ shutdown_task (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) | |||
255 | GNUNET_NAMESTORE_disconnect (gns->ns, GNUNET_NO); | 248 | GNUNET_NAMESTORE_disconnect (gns->ns, GNUNET_NO); |
256 | gns->ns = NULL; | 249 | gns->ns = NULL; |
257 | } | 250 | } |
258 | if (NULL != zone_pkey) | 251 | if (NULL != gns->pkey) |
259 | { | 252 | { |
260 | GNUNET_CRYPTO_rsa_key_free (zone_pkey); | 253 | GNUNET_CRYPTO_rsa_key_free (gns->pkey); |
261 | zone_pkey = NULL; | 254 | gns->pkey = NULL; |
262 | } | 255 | } |
263 | if (NULL != zonekey_directory) | 256 | if (NULL != zonekey_directory) |
264 | { | 257 | { |