[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnunet] branch master updated: -make new cmd tests experimental (segfal
From: |
gnunet |
Subject: |
[gnunet] branch master updated: -make new cmd tests experimental (segfalting); fix warnings |
Date: |
Sun, 08 Aug 2021 13:26:23 +0200 |
This is an automated email from the git hooks/post-receive script.
martin-schanzenbach pushed a commit to branch master
in repository gnunet.
The following commit(s) were added to refs/heads/master by this push:
new 411da700d -make new cmd tests experimental (segfalting); fix warnings
411da700d is described below
commit 411da700dd0ff36573f581650ae457fdcc692f31
Author: Martin Schanzenbach <mschanzenbach@posteo.de>
AuthorDate: Sun Aug 8 13:22:52 2021 +0200
-make new cmd tests experimental (segfalting); fix warnings
---
src/identity/identity_api.c | 4 ----
src/transport/Makefile.am | 2 +-
2 files changed, 1 insertion(+), 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 \
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [gnunet] branch master updated: -make new cmd tests experimental (segfalting); fix warnings,
gnunet <=