[shibboleth-sp2] 101/119: Add option for inclusive c14n.
Ferenc Wágner
wferi-guest at moszumanska.debian.org
Tue Jan 26 21:29:55 UTC 2016
This is an automated email from the git hooks/post-receive script.
wferi-guest pushed a commit to annotated tag 1.3.1
in repository shibboleth-sp2.
commit 8d26bdc5f30323fdd3990167a94349d4ad756751
Author: Scott Cantor <cantor.2 at osu.edu>
Date: Fri Nov 2 14:46:50 2007 +0000
Add option for inclusive c14n.
---
siterefresh/siterefresh.cpp | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/siterefresh/siterefresh.cpp b/siterefresh/siterefresh.cpp
index 834cb34..02fa356 100644
--- a/siterefresh/siterefresh.cpp
+++ b/siterefresh/siterefresh.cpp
@@ -108,7 +108,8 @@ void verifySignature(DOMDocument* doc, DOMNode* sigNode, const char* cert=NULL)
for (unsigned int i=0; tlist && i<tlist->getSize(); i++) {
if (tlist->item(i)->getTransformType()==TRANSFORM_ENVELOPED_SIGNATURE)
valid=true;
- else if (tlist->item(i)->getTransformType()!=TRANSFORM_EXC_C14N) {
+ else if (tlist->item(i)->getTransformType()!=TRANSFORM_EXC_C14N &&
+ tlist->item(i)->getTransformType()!=TRANSFORM_C14N) {
valid=false;
break;
}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-shibboleth/shibboleth-sp2.git
More information about the Pkg-shibboleth-devel
mailing list