diff options
author | Koen Kooi <koen.kooi@linaro.org> | 2016-01-12 08:49:32 +0100 |
---|---|---|
committer | Koen Kooi <koen.kooi@linaro.org> | 2016-01-12 08:50:39 +0100 |
commit | 346c76e9fa41b5f11f76193a6762da288fa48efe (patch) | |
tree | 21a2f27162d4b748f2a822dbedb14b0d7aa2b42a /meta-ilp32/recipes-overlayed/openssl/openssl/debian1.0.2/block_digicert_malaysia.patch | |
parent | 697174bacf597826260ffdb473c95e317e0a1374 (diff) |
openssl: import 1.0.2e from OE-core16.01
We only need to add the ilp32 bits to the .inc but that requires overlaying the whole recipe
Change-Id: Ie9ba5683cae556e41c260792c86204e82bad0ec8
Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
Diffstat (limited to 'meta-ilp32/recipes-overlayed/openssl/openssl/debian1.0.2/block_digicert_malaysia.patch')
-rw-r--r-- | meta-ilp32/recipes-overlayed/openssl/openssl/debian1.0.2/block_digicert_malaysia.patch | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/meta-ilp32/recipes-overlayed/openssl/openssl/debian1.0.2/block_digicert_malaysia.patch b/meta-ilp32/recipes-overlayed/openssl/openssl/debian1.0.2/block_digicert_malaysia.patch new file mode 100644 index 00000000..c43bcd1c --- /dev/null +++ b/meta-ilp32/recipes-overlayed/openssl/openssl/debian1.0.2/block_digicert_malaysia.patch @@ -0,0 +1,29 @@ +From: Raphael Geissert <geissert@debian.org> +Description: make X509_verify_cert indicate that any certificate whose + name contains "Digicert Sdn. Bhd." (from Malaysia) is revoked. +Forwarded: not-needed +Origin: vendor +Last-Update: 2011-11-05 + +Upstream-Status: Backport [debian] + + +Index: openssl-1.0.2~beta1/crypto/x509/x509_vfy.c +=================================================================== +--- openssl-1.0.2~beta1.orig/crypto/x509/x509_vfy.c 2014-02-25 00:16:12.488028844 +0100 ++++ openssl-1.0.2~beta1/crypto/x509/x509_vfy.c 2014-02-25 00:16:12.484028929 +0100 +@@ -964,10 +964,11 @@ + for (i = sk_X509_num(ctx->chain) - 1; i >= 0; i--) + { + x = sk_X509_value(ctx->chain, i); +- /* Mark DigiNotar certificates as revoked, no matter +- * where in the chain they are. ++ /* Mark certificates containing the following names as ++ * revoked, no matter where in the chain they are. + */ +- if (x->name && strstr(x->name, "DigiNotar")) ++ if (x->name && (strstr(x->name, "DigiNotar") || ++ strstr(x->name, "Digicert Sdn. Bhd."))) + { + ctx->error = X509_V_ERR_CERT_REVOKED; + ctx->error_depth = i; |