[openssl-commits] [openssl] OpenSSL_1_0_2-stable update
Paul I. Dale
pauli at openssl.org
Sun Sep 2 21:28:39 UTC 2018
The branch OpenSSL_1_0_2-stable has been updated
via e24892ef83da5c363d39b52d0b459a26740b1ade (commit)
from bc251459adc14a1a56d0cbe2d372f3d6ffd20cf8 (commit)
- Log -----------------------------------------------------------------
commit e24892ef83da5c363d39b52d0b459a26740b1ade
Author: Eric Brown <browne at vmware.com>
Date: Thu Aug 16 08:34:39 2018 -0700
Remove redundant ASN1_INTEGER_set call
This trivial patch removes a duplicated call to ASN1_INTEGER_set.
Fixes Issue #6977
Signed-off-by: Eric Brown <browne at vmware.com>
Reviewed-by: Richard Levitte <levitte at openssl.org>
Reviewed-by: Andy Polyakov <appro at openssl.org>
Reviewed-by: Paul Dale <paul.dale at oracle.com>
(Merged from https://github.com/openssl/openssl/pull/6984)
(cherry picked from commit 59701e6363531cddef5b2114c0127b8453deb1f3)
-----------------------------------------------------------------------
Summary of changes:
crypto/pkcs7/pk7_lib.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/crypto/pkcs7/pk7_lib.c b/crypto/pkcs7/pk7_lib.c
index 0c5fcaa..866a863 100644
--- a/crypto/pkcs7/pk7_lib.c
+++ b/crypto/pkcs7/pk7_lib.c
@@ -185,7 +185,6 @@ int PKCS7_set_type(PKCS7 *p7, int type)
if ((p7->d.signed_and_enveloped = PKCS7_SIGN_ENVELOPE_new())
== NULL)
goto err;
- ASN1_INTEGER_set(p7->d.signed_and_enveloped->version, 1);
if (!ASN1_INTEGER_set(p7->d.signed_and_enveloped->version, 1))
goto err;
p7->d.signed_and_enveloped->enc_data->content_type
More information about the openssl-commits
mailing list