diff options
Diffstat (limited to 'app/openssl/crypto/cms/cms_sd.c')
-rw-r--r-- | app/openssl/crypto/cms/cms_sd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/openssl/crypto/cms/cms_sd.c b/app/openssl/crypto/cms/cms_sd.c index 77fbd135..51dd33a1 100644 --- a/app/openssl/crypto/cms/cms_sd.c +++ b/app/openssl/crypto/cms/cms_sd.c @@ -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) |