Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Turris
openwrt
Commits
9aa88e76
Verified
Commit
9aa88e76
authored
Jan 12, 2017
by
Michal Hrusecky
🐭
Browse files
openssl: Fix CVE-2016-7056
parent
9321936f
Changes
2
Hide whitespace changes
Inline
Side-by-side
package/libs/openssl/Makefile
View file @
9aa88e76
...
...
@@ -11,7 +11,7 @@ PKG_NAME:=openssl
PKG_BASE
:=
1.0.2
PKG_BUGFIX
:=
j
PKG_VERSION
:=
$(PKG_BASE)$(PKG_BUGFIX)
PKG_RELEASE
:=
1
PKG_RELEASE
:=
2
PKG_USE_MIPS16
:=
0
PKG_BUILD_PARALLEL
:=
1
...
...
package/libs/openssl/patches/500-CVE-2016-7056.patch
0 → 100644
View file @
9aa88e76
--- a/crypto/ecdsa/ecs_ossl.c
+++ b/crypto/ecdsa/ecs_ossl.c
@@ -147,6 +147,8 @@
static int ecdsa_sign_setup(EC_KEY *ecke
if (!BN_add(k, k, order))
goto err;
+ BN_set_flags(k, BN_FLG_CONSTTIME);
+
/* compute r the x-coordinate of generator * k */
if (!EC_POINT_mul(group, tmp_point, k, NULL, NULL, ctx)) {
ECDSAerr(ECDSA_F_ECDSA_SIGN_SETUP, ERR_R_EC_LIB);
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment