summaryrefslogtreecommitdiffstats
path: root/checks/defs.inc
diff options
context:
space:
mode:
Diffstat (limited to 'checks/defs.inc')
-rwxr-xr-xchecks/defs.inc4
1 files changed, 4 insertions, 0 deletions
diff --git a/checks/defs.inc b/checks/defs.inc
index 49cbcf292..8e754a7bc 100755
--- a/checks/defs.inc
+++ b/checks/defs.inc
@@ -60,6 +60,10 @@ chdir () {
#}
+have_hash_algo () {
+ ../g10/gpgm --homedir . --version | grep "Hash:.*$1" >/dev/null
+}
+
set -e
pgmname=`basename $0`
#trap cleanup SIGHUP SIGINT SIGQUIT