Set version number correctly.
PR#3249 (cherry picked from commit 8909bf20269035d295743fca559207ef2eb84eb3)
This commit is contained in:
parent
caf4e91a35
commit
fccbab6f31
@ -158,8 +158,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…
x
Reference in New Issue
Block a user