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:
8bbfd94
)
Set Enveloped data version to 2 if ktri version not zero.
author
Dr. Stephen Henson
<steve@openssl.org>
Mon, 5 May 2014 22:56:43 +0000
(23:56 +0100)
committer
Dr. Stephen Henson
<steve@openssl.org>
Tue, 6 May 2014 12:59:05 +0000
(13:59 +0100)
crypto/cms/cms_env.c
patch
|
blob
|
history
diff --git
a/crypto/cms/cms_env.c
b/crypto/cms/cms_env.c
index 8c6d91f3c88143e3c754c9833a26a57688753836..b6b6ca169665f47342159dc6b4e07d07f5164033 100644
(file)
--- a/
crypto/cms/cms_env.c
+++ b/
crypto/cms/cms_env.c
@@
-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;
}