aboutsummaryrefslogtreecommitdiffstats
path: root/asn1/cms
diff options
context:
space:
mode:
authorStig Bjørlykke <stig@bjorlykke.org>2014-01-08 08:19:51 +0000
committerStig Bjørlykke <stig@bjorlykke.org>2014-01-08 08:19:51 +0000
commita7c8e678bf1ad13fd41c8f338354bad244721099 (patch)
treec3fc5a62c94eb6e528251c4ed3343295dcd07eaf /asn1/cms
parentc79fb5464b5c0c0d666d620b1f90b749eff30573 (diff)
Added a check for valid algorithm id.
svn path=/trunk/; revision=54653
Diffstat (limited to 'asn1/cms')
-rw-r--r--asn1/cms/cms.cnf2
1 files changed, 1 insertions, 1 deletions
diff --git a/asn1/cms/cms.cnf b/asn1/cms/cms.cnf
index 3c2166ec27..af843d1703 100644
--- a/asn1/cms/cms.cnf
+++ b/asn1/cms/cms.cnf
@@ -153,7 +153,7 @@ RevocationInfoChoice/other otherRIC
old_offset = get_ber_identifier(tvb, old_offset, NULL, NULL, NULL);
old_offset = get_ber_length(tvb, old_offset, NULL, NULL);
- if(content_tvb)
+ if(content_tvb && actx->external.direct_reference)
cms_verify_msg_digest(pi, content_tvb, actx->external.direct_reference, tvb, old_offset);
#.FN_PARS SMIMECapability/capability