aboutsummaryrefslogtreecommitdiff
path: root/src/fs/gnunet-publish.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-11-12 17:49:34 +0100
committerChristian Grothoff <christian@grothoff.org>2020-11-12 17:49:34 +0100
commit3522008dfd14f049a821dfba7ba89a27aa27d4aa (patch)
tree09cc48925133f736e48bb2be4f239fb7d6d01950 /src/fs/gnunet-publish.c
parent23f8671e09a80bf722c3268e8d477b5ce5e3d76a (diff)
parente11d1e59e4ae5f7d89c33df3ae9ca8f1ece990cf (diff)
downloadgnunet-3522008dfd14f049a821dfba7ba89a27aa27d4aa.tar.gz
gnunet-3522008dfd14f049a821dfba7ba89a27aa27d4aa.zip
Merge branch 'master' of git+ssh://gnunet.org/gnunet
Diffstat (limited to 'src/fs/gnunet-publish.c')
-rw-r--r--src/fs/gnunet-publish.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/fs/gnunet-publish.c b/src/fs/gnunet-publish.c
index 518192283..dea467669 100644
--- a/src/fs/gnunet-publish.c
+++ b/src/fs/gnunet-publish.c
@@ -591,13 +591,12 @@ directory_trim_complete (struct GNUNET_FS_ShareTreeItem *directory_scan_result)
591 GNUNET_SCHEDULER_shutdown (); 591 GNUNET_SCHEDULER_shutdown ();
592 return; 592 return;
593 } 593 }
594 if (NULL == namespace) 594 priv = NULL;
595 priv = NULL; 595 if (NULL != namespace)
596 else
597 { 596 {
598 pk = GNUNET_IDENTITY_ego_get_private_key (namespace); 597 pk = GNUNET_IDENTITY_ego_get_private_key (namespace);
599 if (GNUNET_IDENTITY_TYPE_ECDSA == ntohl (pk->type)) 598 GNUNET_assert (GNUNET_IDENTITY_TYPE_ECDSA == ntohl (pk->type));
600 priv = &pk->ecdsa_key; 599 priv = &pk->ecdsa_key;
601 } 600 }
602 pc = GNUNET_FS_publish_start (ctx, 601 pc = GNUNET_FS_publish_start (ctx,
603 fi, 602 fi,