public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Kamil Dudka <kdudka@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/curl] curl-v8.21.0-9: improve curl-7.19.5-cc_refcnt-2.patch
Date: Mon, 02 Nov 2026 14:26:22 GMT	[thread overview]
Message-ID: <179362958202.1.11387175103412982976.rpms-curl-e8184abdd5dc@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/curl
Branch : curl-v8.21.0-9
Commit : e8184abdd5dc48021f1a4d741fea1aa35949ca62
Author : Kamil Dudka <kdudka@fedoraproject.org>
Date   : 2009-07-10T12:45:41+00:00
Stats  : +8/-10 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/curl/c/e8184abdd5dc48021f1a4d741fea1aa35949ca62?branch=curl-v8.21.0-9

Log:
improve curl-7.19.5-cc_refcnt-2.patch

---
diff --git a/curl-7.19.5-cc_refcnt-2.patch b/curl-7.19.5-cc_refcnt-2.patch
index e6ab230..c3aeee7 100644
--- a/curl-7.19.5-cc_refcnt-2.patch
+++ b/curl-7.19.5-cc_refcnt-2.patch
@@ -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);

                 reply	other threads:[~2026-11-02 14:26 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=179362958202.1.11387175103412982976.rpms-curl-e8184abdd5dc@fedoraproject.org \
    --to=kdudka@fedoraproject.org \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox