Allow the countersignature to exist anywhere in unauthAttrs

The diff is confusing, but basically I moved the countersignature
verification code into it's own function and then in asn1_parse_mscat
we now loop through the unauthenticatedAttributes to find the
counterSignature attribute (instead of assuming it's the first
attribute in the list.)

We also now do time-validation in the case where an unauthAttrs
section exists but doesn't include a counterSignature
pull/51/head
Andrew 7 years ago committed by Micah Snyder
parent a2bb4cdf28
commit 604cc8edd1
  1. 1315
      libclamav/asn1.c

File diff suppressed because it is too large Load Diff
Loading…
Cancel
Save