/[smeserver]/rpms/openssl/sme8/openssl-0.9.6-x509.patch
ViewVC logotype

Annotation of /rpms/openssl/sme8/openssl-0.9.6-x509.patch

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


Revision 1.1 - (hide annotations) (download)
Tue Feb 18 03:03:07 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
Initial import

1 wellsi 1.1 Do not treat duplicate certs as an error.
2    
3     --- openssl-0.9.6/crypto/x509/by_file.c Wed Sep 27 15:09:05 2000
4     +++ openssl-0.9.6/crypto/x509/by_file.c Wed Sep 27 14:21:20 2000
5     @@ -163,8 +163,12 @@
6     }
7     }
8     i=X509_STORE_add_cert(ctx->store_ctx,x);
9     - if (!i) goto err;
10     - count++;
11     + /* ignore any problems with current certificate
12     + and continue with the next one */
13     + if (i)
14     + count++;
15     + else
16     + ERR_clear_error();
17     X509_free(x);
18     x=NULL;
19     }
20     @@ -179,7 +183,8 @@
21     goto err;
22     }
23     i=X509_STORE_add_cert(ctx->store_ctx,x);
24     - if (!i) goto err;
25     + if (!i)
26     + ERR_clear_error();
27     ret=i;
28     }
29     else

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