Set version number correctly.
PR#3249
This commit is contained in:
parent
4da0ddc47e
commit
46d889f33e
1 changed files with 2 additions and 2 deletions
|
@ -159,8 +159,8 @@ static void cms_sd_set_version(CMS_SignedData *sd)
|
|||
if (sd->version < 3)
|
||||
sd->version = 3;
|
||||
}
|
||||
else
|
||||
sd->version = 1;
|
||||
else if (si->version < 1)
|
||||
si->version = 1;
|
||||
}
|
||||
|
||||
if (sd->version < 1)
|
||||
|
|
Loading…
Reference in a new issue