summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/identity/identity_api.c4
-rw-r--r--src/transport/Makefile.am2
2 files changed, 1 insertions, 5 deletions
diff --git a/src/identity/identity_api.c b/src/identity/identity_api.c
index 3bbe0b957..22371f91a 100644
--- a/src/identity/identity_api.c
+++ b/src/identity/identity_api.c
@@ -1236,14 +1236,12 @@ GNUNET_IDENTITY_public_key_from_string (const char *str,
struct GNUNET_IDENTITY_PublicKey *key)
{
enum GNUNET_GenericReturnValue ret;
- enum GNUNET_IDENTITY_KeyType ktype;
ret = GNUNET_STRINGS_string_to_data (str,
strlen (str),
key,
sizeof (*key));
if (GNUNET_OK != ret)
return GNUNET_SYSERR;
- ktype = ntohl (key->type);
return GNUNET_OK;
}
@@ -1254,14 +1252,12 @@ GNUNET_IDENTITY_private_key_from_string (const char *str,
struct GNUNET_IDENTITY_PrivateKey *key)
{
enum GNUNET_GenericReturnValue ret;
- enum GNUNET_IDENTITY_KeyType ktype;
ret = GNUNET_STRINGS_string_to_data (str,
strlen (str),
key,
sizeof (*key));
if (GNUNET_OK != ret)
return GNUNET_SYSERR;
- ktype = ntohl (key->type);
return GNUNET_OK;
}
diff --git a/src/transport/Makefile.am b/src/transport/Makefile.am
index 55a338729..0782a631b 100644
--- a/src/transport/Makefile.am
+++ b/src/transport/Makefile.am
@@ -647,7 +647,6 @@ endif
if ENABLE_TEST_RUN
AM_TESTS_ENVIRONMENT=export GNUNET_PREFIX=$${GNUNET_PREFIX:-@libdir@};export PATH=$${GNUNET_PREFIX:-@prefix@}/bin:$$PATH;unset XDG_DATA_HOME;unset XDG_CONFIG_HOME;
TESTS = \
- test_transport_api_cmd_simple_send \
test_transport_address_switch_tcp \
$(HTTP_SWITCH) \
$(HTTPS_SWITCH) \
@@ -707,6 +706,7 @@ test_transport_api_slow_ats
endif
if HAVE_EXPERIMENTAL
TESTS += \
+ test_transport_api_cmd_simple_send \
test_transport_address_switch_udp \
test_plugin_udp \
test_transport_api_udp \