projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f8dc000
)
Set version number correctly.
author
Dr. Stephen Henson
<steve@openssl.org>
Thu, 29 May 2014 13:07:49 +0000
(14:07 +0100)
committer
Dr. Stephen Henson
<steve@openssl.org>
Thu, 29 May 2014 13:12:14 +0000
(14:12 +0100)
PR#3249
(cherry picked from commit
8909bf20269035d295743fca559207ef2eb84eb3
)
crypto/cms/cms_sd.c
patch
|
blob
|
history
diff --git
a/crypto/cms/cms_sd.c
b/crypto/cms/cms_sd.c
index 77fbd1359679fd9504b9256e85e8d806fed8a2f7..51dd33a1c3232d37f108a76a73c8c5f26c19721e 100644
(file)
--- a/
crypto/cms/cms_sd.c
+++ b/
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
- s
d
->version = 1;
+ else
if (si->version < 1)
+ s
i
->version = 1;
}
if (sd->version < 1)