gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gnunet] branch master updated: UTIL: Remove outdated test. Fixes #7361


From: gnunet
Subject: [gnunet] branch master updated: UTIL: Remove outdated test. Fixes #7361
Date: Wed, 21 Sep 2022 17:30:31 +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 c50fba92d UTIL: Remove outdated test. Fixes #7361
c50fba92d is described below

commit c50fba92d14a20c4321768c26b3dd6e417c46f23
Author: Martin Schanzenbach <schanzen@gnunet.org>
AuthorDate: Thu Sep 22 00:30:24 2022 +0900

    UTIL: Remove outdated test. Fixes #7361
---
 src/util/Makefile.am       |  6 -----
 src/util/test_crypto_ecc.c | 57 ----------------------------------------------
 2 files changed, 63 deletions(-)

diff --git a/src/util/Makefile.am b/src/util/Makefile.am
index b86fa0f12..9cb7da15b 100644
--- a/src/util/Makefile.am
+++ b/src/util/Makefile.am
@@ -292,7 +292,6 @@ check_PROGRAMS = \
  test_container_heap \
  test_crypto_symmetric \
  test_crypto_crc \
- test_crypto_ecc \
  test_crypto_cs \
  test_crypto_ecdsa \
  test_crypto_eddsa \
@@ -461,11 +460,6 @@ test_crypto_cs_LDADD = \
  libgnunetutil.la \
  -lsodium
 
-test_crypto_ecc_SOURCES = \
- test_crypto_ecc.c
-test_crypto_ecc_LDADD = \
- libgnunetutil.la
-
 test_crypto_ecdsa_SOURCES = \
  test_crypto_ecdsa.c
 test_crypto_ecdsa_LDADD = \
diff --git a/src/util/test_crypto_ecc.c b/src/util/test_crypto_ecc.c
deleted file mode 100644
index ebfa04c45..000000000
--- a/src/util/test_crypto_ecc.c
+++ /dev/null
@@ -1,57 +0,0 @@
-/*
-     This file is part of GNUnet.
-     Copyright (C) 2002-2015 GNUnet e.V.
-
-     GNUnet is free software: you can redistribute it and/or modify it
-     under the terms of the GNU Affero General Public License as published
-     by the Free Software Foundation, either version 3 of the License,
-     or (at your option) any later version.
-
-     GNUnet is distributed in the hope that it will be useful, but
-     WITHOUT ANY WARRANTY; without even the implied warranty of
-     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-     Affero General Public License for more details.
-
-     You should have received a copy of the GNU Affero General Public License
-     along with this program.  If not, see <http://www.gnu.org/licenses/>.
-
-     SPDX-License-Identifier: AGPL3.0-or-later
-
- */
-/**
- * @file util/test_crypto_ecc.c
- * @brief test case for crypto_ecc.c GNUNET_CRYPTO_ecdsa_sign_raw() function
- * @author Tristan Schwieren
- */
-#include "platform.h"
-#include "gnunet_util_lib.h"
-
-static int
-test_GNUNET_CRYPTO_ecdsa_sign_raw ()
-{
-  struct GNUNET_CRYPTO_EcdsaPrivateKey skey;
-  struct GNUNET_CRYPTO_EcdsaPublicKey pkey;
-  struct GNUNET_CRYPTO_EcdsaSignature sig;
-  const char *test_data = "Hello World!";
-
-  /* Generate keys */
-  GNUNET_CRYPTO_ecdsa_key_create (&skey);
-  GNUNET_CRYPTO_ecdsa_key_get_public (&skey, &pkey);
-
-  GNUNET_assert (GNUNET_OK ==
-                 GNUNET_CRYPTO_ecdsa_sign_raw (&skey,
-                                               test_data,
-                                               strlen (test_data),
-                                               &sig));
-
-  return 0;
-}
-
-int
-main (int argc, char *argv[])
-{
-       return test_GNUNET_CRYPTO_ecdsa_sign_raw ();
-}
-
-
-/* end of test_crypto_ecc.c */

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]