Skip to content

Commit fbaea75

Browse files
committed
clarify
1 parent f9a4074 commit fbaea75

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
@@ -337,7 +337,7 @@ def _verify(t, keyspec, sig_path=".//{%s}Signature" % NS['ds'], drop_signature=F
337337
if not this_cert.verify(b64d(sv), actual, sig_digest_alg):
338338
raise XMLSigException("Failed to validate {!s} using sig digest {!s} and cm {!s}".format(etree.tostring(sig), sig_digest_alg, cm_alg))
339339
validated.append(obj)
340-
except (XMLSigException, ValueError) as ex:
340+
except (XMLSigException, ValueError) as ex: # we will try the next available signature
341341
log.error(ex)
342342

343343
if not validated:

0 commit comments

Comments
 (0)