Set Enveloped data version to 2 if ktri version not zero.
This commit is contained in:
parent
8bbfd94e36
commit
546b1b4384
@ -973,7 +973,7 @@ static void cms_env_set_version(CMS_EnvelopedData *env)
|
||||
env->version = 3;
|
||||
return;
|
||||
}
|
||||
else if (ri->type != CMS_RECIPINFO_TRANS)
|
||||
else if (ri->type != CMS_RECIPINFO_TRANS || ri->d.ktri->version != 0)
|
||||
{
|
||||
env->version = 2;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user