[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[frosix] 02/04: rename frosix-reducer to frosix-cli
From: |
gnunet |
Subject: |
[frosix] 02/04: rename frosix-reducer to frosix-cli |
Date: |
Sat, 01 Jul 2023 11:33:10 +0200 |
This is an automated email from the git hooks/post-receive script.
joel-urech pushed a commit to branch master
in repository frosix.
commit e367b7a38aba13b517741229d2580fa647775f49
Author: Joel Urech <joeltobias.urech@students.bfh.ch>
AuthorDate: Mon Jun 26 20:01:17 2023 +0200
rename frosix-reducer to frosix-cli
---
src/cli/Makefile.am | 8 ++++----
src/cli/{frosix-cli-redux.c => frosix-cli.c} | 0
src/cli/test-frosix.sh | 6 +++---
3 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/src/cli/Makefile.am b/src/cli/Makefile.am
index d1692cd..436fd09 100644
--- a/src/cli/Makefile.am
+++ b/src/cli/Makefile.am
@@ -2,7 +2,7 @@
AM_CPPFLAGS = -I$(top_srcdir)/src/include -I$(top_srcdir)/src/libfrosix
bin_PROGRAMS = \
- frosix-reducer
+ frosix-cli
check_SCRIPTS = \
test-frosix.sh
@@ -12,9 +12,9 @@ AM_TESTS_ENVIRONMENT=export
FROSIX_PREFIX=$${FROSIX_PREFIX:-@libdir@};export PAT
TESTS = \
$(check_SCRIPTS)
-frosix_reducer_SOURCES = \
- frosix-cli-redux.c
-frosix_reducer_LDADD = \
+frosix_cli_SOURCES = \
+ frosix-cli.c
+frosix_cli_LDADD = \
$(top_builddir)/src/util/libfrosixutil.la \
$(top_builddir)/src/libfrosix/libfrosix.la \
$(top_builddir)/src/restclient/libfrosixrest.la \
diff --git a/src/cli/frosix-cli-redux.c b/src/cli/frosix-cli.c
similarity index 100%
rename from src/cli/frosix-cli-redux.c
rename to src/cli/frosix-cli.c
diff --git a/src/cli/test-frosix.sh b/src/cli/test-frosix.sh
index 5d71aaf..b6edb5b 100755
--- a/src/cli/test-frosix.sh
+++ b/src/cli/test-frosix.sh
@@ -128,7 +128,7 @@ echo " OK"
# Start with key generation
echo -n "Start distributed key generation ..."
-frosix-reducer keygen -o "${SIGN_DOCUMENT}" < "${PLIST}"
+frosix-cli keygen -o "${SIGN_DOCUMENT}" < "${PLIST}"
RET_KG=$?
if [ "$RET_KG" != "0" ]
@@ -140,7 +140,7 @@ echo " OK"
# Sign a message
echo -n "Sign a message ..."
-frosix-reducer sign -a "${AUTH}" -m "${MSG}" -o "${SIGNATURE}" <
"${SIGN_DOCUMENT}"
+frosix-cli sign -a "${AUTH}" -m "${MSG}" -o "${SIGNATURE}" < "${SIGN_DOCUMENT}"
RET_S=$?
if [ "$RET_S" != "0" ]
@@ -152,7 +152,7 @@ echo " OK"
# Verify the signature
echo -n "Verify the signature ..."
-frosix-reducer verify -m "${MSG}" < "${SIGNATURE}"
+frosix-cli verify -m "${MSG}" < "${SIGNATURE}"
RET_V=$?
if [ "$RET_V" != "0" ]
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.