rpms/curl/devel curl-7.19.5-cc_refcnt-2.patch,1.1,1.2

Kamil Dudka kdudka at fedoraproject.org
Fri Jul 10 12:45:42 UTC 2009


Author: kdudka

Update of /cvs/extras/rpms/curl/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv22858

Modified Files:
	curl-7.19.5-cc_refcnt-2.patch 
Log Message:
improve curl-7.19.5-cc_refcnt-2.patch

curl-7.19.5-cc_refcnt-2.patch:

Index: curl-7.19.5-cc_refcnt-2.patch
===================================================================
RCS file: /cvs/extras/rpms/curl/devel/curl-7.19.5-cc_refcnt-2.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- curl-7.19.5-cc_refcnt-2.patch	10 Jul 2009 12:27:52 -0000	1.1
+++ curl-7.19.5-cc_refcnt-2.patch	10 Jul 2009 12:45:41 -0000	1.2
@@ -1,18 +1,16 @@
 diff -ruNp curl-7.19.5.orig/lib/nss.c curl-7.19.5/lib/nss.c
---- curl-7.19.5.orig/lib/nss.c	2009-07-10 13:54:34.592293130 +0200
-+++ curl-7.19.5/lib/nss.c	2009-07-10 13:54:48.250293559 +0200
-@@ -856,9 +856,17 @@ void Curl_nss_cleanup(void)
-    * as a safety feature.
+--- curl-7.19.5.orig/lib/nss.c	2009-07-10 14:41:55.890168660 +0200
++++ curl-7.19.5/lib/nss.c	2009-07-10 14:42:18.966293110 +0200
+@@ -857,8 +857,15 @@ void Curl_nss_cleanup(void)
     */
    PR_Lock(nss_initlock);
-+
-+  /* Free references to client certificates held in the SSL session cache.
-+   * Omitting this hampers destruction of the security module owning
-+   * the certificates. */
-+  SSL_ClearSessionCache();
-+
    if (initialized) {
 -    if(mod)
++    /* Free references to client certificates held in the SSL session cache.
++     * Omitting this hampers destruction of the security module owning
++     * the certificates. */
++    SSL_ClearSessionCache();
++
 +    if(mod) {
 +      SECMOD_UnloadUserModule(mod);
        SECMOD_DestroyModule(mod);




More information about the fedora-extras-commits mailing list