Skip to content

Commit

Permalink
Groom references to deprecated tangd-update script
Browse files Browse the repository at this point in the history
Resolves: #497

Signed-off-by: Sergio Arroutbi <[email protected]>
  • Loading branch information
sarroutbi committed Nov 7, 2024
1 parent 0cad2e0 commit bbc6210
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
5 changes: 0 additions & 5 deletions src/pins/tang/tests/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ socat = find_program('socat', required: false)
tang_data = configuration_data()
tang_data.set('SOCAT', '')
tang_data.set('TANGD_KEYGEN', '')
tang_data.set('TANGD_UPDATE', '')
tang_data.set('TANGD', '')

if socat.found()
Expand All @@ -43,10 +42,6 @@ if tang.found()
tang_data.set('TANGD', tang.path())
endif

if updt.found()
tang_data.set('TANGD_UPDATE', updt.path())
endif

tang_tests_common = configure_file(
input: 'tang-common-test-functions.in',
output: 'tang-common-test-functions',
Expand Down
3 changes: 0 additions & 3 deletions src/pins/tang/tests/tang-common-test-functions.in
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@

SOCAT="@SOCAT@"
TANGD_KEYGEN="@TANGD_KEYGEN@"
TANGD_UPDATE="@TANGD_UPDATE@"
TANGD="@TANGD@"

tang_error() {
Expand Down Expand Up @@ -70,7 +69,6 @@ tang_remove_rotated_keys() {
pushd "${db}"
find . -name ".*.jwk" -exec rm -f {} \;
popd

[ -n "${TANGD_UPDATE}" ] && "${TANGD_UPDATE}" "${db}" "${basedir}/cache"
return 0
}
Expand Down Expand Up @@ -153,7 +151,6 @@ tang_run() {
fi

local KEYS="${basedir}/cache"
[ -z "${TANGD_UPDATE}" ] && KEYS="${basedir}/db"

local pid pidfile portfile
pidfile="${basedir}/tang.pid"
Expand Down

0 comments on commit bbc6210

Please sign in to comment.