summaryrefslogtreecommitdiffstats
path: root/package/libs/openssl/patches/302-Fix_typo_introduced_by_a03f81f4.patch
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2016-09-24 19:50:27 +0200
committerHauke Mehrtens <hauke@hauke-m.de>2016-09-24 19:53:00 +0200
commitea288126dbcf11ecf990b858e1c563b24b198327 (patch)
treed7dfdf194102763041ac79471d1de47c5889f996 /package/libs/openssl/patches/302-Fix_typo_introduced_by_a03f81f4.patch
parent524d4110f9a21bb570390303503c61a79435a984 (diff)
downloadmaster-31e0f0ae-ea288126dbcf11ecf990b858e1c563b24b198327.tar.gz
master-31e0f0ae-ea288126dbcf11ecf990b858e1c563b24b198327.tar.bz2
master-31e0f0ae-ea288126dbcf11ecf990b858e1c563b24b198327.zip
openssl: backport build fix when hardware support is used
This fix added to the openssl 1.0.2 branch. In addition add the header for the existing backport. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Diffstat (limited to 'package/libs/openssl/patches/302-Fix_typo_introduced_by_a03f81f4.patch')
-rw-r--r--package/libs/openssl/patches/302-Fix_typo_introduced_by_a03f81f4.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/package/libs/openssl/patches/302-Fix_typo_introduced_by_a03f81f4.patch b/package/libs/openssl/patches/302-Fix_typo_introduced_by_a03f81f4.patch
new file mode 100644
index 0000000000..8b14365fe1
--- /dev/null
+++ b/package/libs/openssl/patches/302-Fix_typo_introduced_by_a03f81f4.patch
@@ -0,0 +1,21 @@
+From 581215a519c66db7255ea360ed25bb00033ccd52 Mon Sep 17 00:00:00 2001
+From: Rich Salz <rsalz@openssl.org>
+Date: Thu, 22 Sep 2016 08:47:45 -0400
+Subject: [PATCH] Fix typo introduced by a03f81f4
+
+Reviewed-by: Richard Levitte <levitte@openssl.org>
+---
+ crypto/engine/eng_cryptodev.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+--- a/crypto/engine/eng_cryptodev.c
++++ b/crypto/engine/eng_cryptodev.c
+@@ -939,7 +939,7 @@ static int cryptodev_digest_copy(EVP_MD_
+ if (fstate->mac_len != 0) {
+ if (fstate->mac_data != NULL) {
+ dstate->mac_data = OPENSSL_malloc(fstate->mac_len);
+- if (dstate->ac_data == NULL) {
++ if (dstate->mac_data == NULL) {
+ printf("cryptodev_digest_init: malloc failed\n");
+ return 0;
+ }