Set Enveloped data version to 2 if ktri version not zero.
(cherry picked from commit 546b1b4384
)
This commit is contained in:
parent
9740a03695
commit
1047b8c84d
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue