summaryrefslogtreecommitdiff
path: root/meta/recipes-connectivity/openssl/openssl-0.9.8p/debian/rehash-crt.patch
diff options
context:
space:
mode:
authorQing He <qing.he@intel.com>2011-04-15 16:11:08 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-04-18 05:46:24 +0100
commite28e11930a22a4e89075e7e026e58c081f984ddf (patch)
tree0c05686ae9df2fffd8dc2179e78e356c7e2b87c1 /meta/recipes-connectivity/openssl/openssl-0.9.8p/debian/rehash-crt.patch
parentcd13726f1eb1f77f55cf202830d6bf13b47b0860 (diff)
downloadopenembedded-core-e28e11930a22a4e89075e7e026e58c081f984ddf.tar.gz
openembedded-core-e28e11930a22a4e89075e7e026e58c081f984ddf.tar.bz2
openembedded-core-e28e11930a22a4e89075e7e026e58c081f984ddf.tar.xz
openembedded-core-e28e11930a22a4e89075e7e026e58c081f984ddf.zip
openssl: upgrade to version 0.9.8r
[YOCTO #979] from 0.9.8p fixes CVE-2010-4180, CVE-2010-4252, CVE-2010-0014 Signed-off-by: Qing He <qing.he@intel.com>
Diffstat (limited to 'meta/recipes-connectivity/openssl/openssl-0.9.8p/debian/rehash-crt.patch')
-rw-r--r--meta/recipes-connectivity/openssl/openssl-0.9.8p/debian/rehash-crt.patch33
1 files changed, 0 insertions, 33 deletions
diff --git a/meta/recipes-connectivity/openssl/openssl-0.9.8p/debian/rehash-crt.patch b/meta/recipes-connectivity/openssl/openssl-0.9.8p/debian/rehash-crt.patch
deleted file mode 100644
index a8ff28c6f..000000000
--- a/meta/recipes-connectivity/openssl/openssl-0.9.8p/debian/rehash-crt.patch
+++ /dev/null
@@ -1,33 +0,0 @@
-Index: openssl-0.9.8k/tools/c_rehash.in
-===================================================================
---- openssl-0.9.8k.orig/tools/c_rehash.in 2002-10-11 22:31:27.000000000 +0200
-+++ openssl-0.9.8k/tools/c_rehash.in 2009-07-19 11:36:26.000000000 +0200
-@@ -59,12 +59,15 @@
- }
- }
- closedir DIR;
-- FILE: foreach $fname (grep {/\.pem$/} @flist) {
-+ FILE: foreach $fname (grep {/\.pem$|\.crt$/} @flist) {
- # Check to see if certificates and/or CRLs present.
- my ($cert, $crl) = check_file($fname);
- if(!$cert && !$crl) {
-- print STDERR "WARNING: $fname does not contain a certificate or CRL: skipping\n";
-- next;
-+ ($cert, $crl) = check_file("$openssl x509 -in \"$fname\" -inform der -outform pem | ");
-+ if(!$cert && !$crl) {
-+ print STDERR "WARNING: $fname does not contain a certificate or CRL: skipping\n";
-+ next;
-+ }
- }
- link_hash_cert($fname) if($cert);
- link_hash_crl($fname) if($crl);
-@@ -102,6 +105,9 @@
- my $fname = $_[0];
- $fname =~ s/'/'\\''/g;
- my ($hash, $fprint) = `"$openssl" x509 -hash -fingerprint -noout -in '$fname'`;
-+ if(!$hash || !fprint) {
-+ ($hash, $fprint) = `"$openssl" x509 -hash -fingerprint -noout -in '$fname' -inform der`;
-+ }
- chomp $hash;
- chomp $fprint;
- $fprint =~ s/^.*=//;