diff options
Diffstat (limited to 'patches/openssl-1.0.2h/0010-block_digicert_malaysia.patch')
-rw-r--r-- | patches/openssl-1.0.2h/0010-block_digicert_malaysia.patch | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/patches/openssl-1.0.2h/0010-block_digicert_malaysia.patch b/patches/openssl-1.0.2h/0010-block_digicert_malaysia.patch new file mode 100644 index 000000000..19e5dc652 --- /dev/null +++ b/patches/openssl-1.0.2h/0010-block_digicert_malaysia.patch @@ -0,0 +1,30 @@ +From: Raphael Geissert <geissert@debian.org> +Date: Wed, 4 May 2016 09:27:51 +0200 +Subject: [PATCH] block_digicert_malaysia + +Imported from openssl_1.0.2h-1.debian.tar.xz + +Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de> +--- + crypto/x509/x509_vfy.c | 7 ++++--- + 1 file changed, 4 insertions(+), 3 deletions(-) + +diff --git a/crypto/x509/x509_vfy.c b/crypto/x509/x509_vfy.c +index 3cddc32279e1..7970ac58eff7 100644 +--- a/crypto/x509/x509_vfy.c ++++ b/crypto/x509/x509_vfy.c +@@ -1008,10 +1008,11 @@ static int check_ca_blacklist(X509_STORE_CTX *ctx) + 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; |