/[smeserver]/rpms/openssl/sme8/openssl-fips-0.9.8e-bad-mime.patch
ViewVC logotype

Contents of /rpms/openssl/sme8/openssl-fips-0.9.8e-bad-mime.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download)
Tue Feb 18 03:03:08 2014 UTC (10 years, 8 months ago) by wellsi
Branch: MAIN
CVS Tags: openssl-0_9_8e-28_el5_sme, openssl-0_9_8e-33_1_el5_sme, openssl-0_9_8e-32_1_el5_sme, openssl-0_9_8e-27_1_el5_sme, openssl-0_9_8e-27_el5_10_1, openssl-0_9_8e-31_1_el5_sme, HEAD
Branch point for: upstream
Error occurred while calculating annotation data.
Initial import

1 diff -up openssl-fips-0.9.8e/crypto/pkcs7/pk7_mime.c.bad-mime openssl-fips-0.9.8e/crypto/pkcs7/pk7_mime.c
2 --- openssl-fips-0.9.8e/crypto/pkcs7/pk7_mime.c.bad-mime 2007-06-22 14:17:50.000000000 +0200
3 +++ openssl-fips-0.9.8e/crypto/pkcs7/pk7_mime.c 2009-04-15 14:58:36.000000000 +0200
4 @@ -689,6 +689,10 @@ static int mime_hdr_addparam(MIME_HEADER
5 static int mime_hdr_cmp(const MIME_HEADER * const *a,
6 const MIME_HEADER * const *b)
7 {
8 + if ((*a)->name == NULL || (*b)->name == NULL)
9 + return (*a)->name - (*b)->name < 0 ? -1 :
10 + (*a)->name - (*b)->name > 0 ? 1 : 0;
11 +
12 return(strcmp((*a)->name, (*b)->name));
13 }
14

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed