blautenb 2003/12/03 02:48:58
Modified: c/src/dsig DSIGSignature.cpp
Log:
Removed strict check of validity of elements at end of signature
Revision Changes Path
1.28 +5 -2 xml-security/c/src/dsig/DSIGSignature.cpp
Index: DSIGSignature.cpp
===================================================================
RCS file: /home/cvs/xml-security/c/src/dsig/DSIGSignature.cpp,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -r1.27 -r1.28
--- DSIGSignature.cpp 22 Nov 2003 09:58:48 -0000 1.27
+++ DSIGSignature.cpp 3 Dec 2003 10:48:58 -0000 1.28
@@ -834,12 +834,15 @@
tmpElt = findNextElementChild(tmpElt);
}
+/*
+ * Strictly speaking, this should remain, but it causes too many
problems with non
+ * conforming signatures
if (tmpElt != 0) {
throw XSECException(XSECException::ExpectedDSIGChildNotFound,
"DSIGSignature::load - Unexpected (non Object) Element
found at end of signature");
}
-
+*/
}
unsigned int DSIGSignature::calculateSignedInfoHash(unsigned char * hashBuf,