From 14638b02db923c5839b3927f9464d851ea08e1b5 Mon Sep 17 00:00:00 2001 From: Tim van Dijen Date: Fri, 26 Jul 2024 12:30:29 +0200 Subject: [PATCH] Fix allowed canonicalization algorithms --- src/XML/SignableElementTrait.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/XML/SignableElementTrait.php b/src/XML/SignableElementTrait.php index 327d7ac4..1bd9bc5d 100644 --- a/src/XML/SignableElementTrait.php +++ b/src/XML/SignableElementTrait.php @@ -81,7 +81,7 @@ public function sign( $canonicalizationAlg, [ C::C14N_INCLUSIVE_WITH_COMMENTS, - C::C14N_EXCLUSIVE_WITHOUT_COMMENTS, + C::C14N_INCLUSIVE_WITHOUT_COMMENTS, C::C14N_EXCLUSIVE_WITH_COMMENTS, C::C14N_EXCLUSIVE_WITHOUT_COMMENTS, ],