aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2013-08-15 12:58:57 +0000
committerChristian Grothoff <christian@grothoff.org>2013-08-15 12:58:57 +0000
commit7f0af3f80f0b545d3cd90e0b2a736480deac3328 (patch)
tree4917d2bb971324fa2bec4b78afff0aeb745af515
parent4ba15c3b7b47ed62c5f09785dd091c42dff2bb33 (diff)
downloadgnunet-gtk-7f0af3f80f0b545d3cd90e0b2a736480deac3328.tar.gz
gnunet-gtk-7f0af3f80f0b545d3cd90e0b2a736480deac3328.zip
-need strlen arg as well
-rw-r--r--src/setup/gnunet-setup-gns-edit.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/setup/gnunet-setup-gns-edit.c b/src/setup/gnunet-setup-gns-edit.c
index 7bfed4db..dfeefc12 100644
--- a/src/setup/gnunet-setup-gns-edit.c
+++ b/src/setup/gnunet-setup-gns-edit.c
@@ -1133,7 +1133,9 @@ edit_dialog_pkey_validity_check (struct EditDialogContext *edc)
1133 preedit = gtk_editable_get_chars (entry, 0, -1); 1133 preedit = gtk_editable_get_chars (entry, 0, -1);
1134 if ( (NULL == preedit) || 1134 if ( (NULL == preedit) ||
1135 (GNUNET_OK != 1135 (GNUNET_OK !=
1136 GNUNET_CRYPTO_ecc_public_key_from_string (preedit, &pub)) ) 1136 GNUNET_CRYPTO_ecc_public_key_from_string (preedit,
1137 strlen (preedit),
1138 &pub)) )
1137 { 1139 {
1138 edit_dialog_disable_save (edc); 1140 edit_dialog_disable_save (edc);
1139 return; 1141 return;