Skip to content

Commit 29d8da9

Browse files
Leif Johanssonguillomovitch
authored andcommitted
clarify
1 parent d63e988 commit 29d8da9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/xmlsec/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -363,7 +363,7 @@ def _verify(t, keyspec, sig_path=".//{%s}Signature" % NS['ds'], drop_signature=F
363363
if not this_cert.verify(b64d(sv), actual, sig_uri):
364364
raise XMLSigException("Failed to validate {!s} using sig sig method {!s}".format(etree.tostring(sig), sig_uri))
365365
validated.append(obj)
366-
except (XMLSigException, ValueError) as ex:
366+
except (XMLSigException, ValueError) as ex: # we will try the next available signature
367367
log.error(ex)
368368

369369
if not validated:

0 commit comments

Comments
 (0)