/[smeserver]/rpms/openssl/sme8/openssl-0.9.8b-x509-name-cmp.patch
ViewVC logotype

Contents of /rpms/openssl/sme8/openssl-0.9.8b-x509-name-cmp.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, 9 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
Initial import

1 --- openssl-0.9.8b/crypto/x509/x509_cmp.c.name-cmp 2004-12-01 02:45:30.000000000 +0100
2 +++ openssl-0.9.8b/crypto/x509/x509_cmp.c 2006-11-30 23:37:26.000000000 +0100
3 @@ -282,14 +282,7 @@
4 nb=sk_X509_NAME_ENTRY_value(b->entries,i);
5 j=na->value->type-nb->value->type;
6 if (j)
7 - {
8 - nabit = ASN1_tag2bit(na->value->type);
9 - nbbit = ASN1_tag2bit(nb->value->type);
10 - if (!(nabit & STR_TYPE_CMP) ||
11 - !(nbbit & STR_TYPE_CMP))
12 - return j;
13 - j = asn1_string_memcmp(na->value, nb->value);
14 - }
15 + return j;
16 else if (na->value->type == V_ASN1_PRINTABLESTRING)
17 j=nocase_spacenorm_cmp(na->value, nb->value);
18 else if (na->value->type == V_ASN1_IA5STRING

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