summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorBjörn Mattsson <bjorn@sunet.se>2023-01-13 09:05:55 +0100
committerBjörn Mattsson <bjorn@sunet.se>2023-01-13 09:05:55 +0100
commited34f4b59dce226700bf849098b367103065cc69 (patch)
tree6143fea83f1fcf2bced1f00f5013ac7487ca67c1 /Makefile
parentac54b1751300577d55afaf8f77a3292899efa10a (diff)
Added checks for invalid algorithms that UK complains about
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 5e6cd459..140e235f 100644
--- a/Makefile
+++ b/Makefile
@@ -173,11 +173,15 @@ checkInvalidChars:
fi;\
done | grep . && exit 1 || exit 0
+checkUKalgorithms:
+ @echo "Check for invalid algorithms in swamid-edugain"
+ @xsltproc --xinclude xslt/check_uk_algorithms.xsl swamid-edugain-1.0.mxml 2>&1 | sed 's/.*/&/' | grep . && exit 1 || exit 0
+
createMXMLfiles:
@echo Recreating MXML files
@scripts/create_mxml.sh | sed 's/.*/&/' | grep . && exit 1 || exit 0
-signtest: syntaxtest testMDUI testALlevel testEduGAINchecks testRefedsRnS testBadStrings testIdPinSP testRegistrationAuthority checkInvalidChars
+signtest: syntaxtest testMDUI testALlevel testEduGAINchecks testRefedsRnS testBadStrings testIdPinSP testRegistrationAuthority checkInvalidChars checkUKalgorithms
test: createMXMLfiles signtest
test2: $(EDUGAINXML) $(SWAMID20XML) $(TESTINGXML) test