Hello community,

here is the log from the commit of package corosync for openSUSE:Factory 
checked in at 2018-04-30 22:51:15
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/corosync (Old)
 and      /work/SRC/openSUSE:Factory/.corosync.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "corosync"

Mon Apr 30 22:51:15 2018 rev:58 rq:601110 version:2.4.4

Changes:
--------
--- /work/SRC/openSUSE:Factory/corosync/corosync.changes        2018-04-22 
14:34:42.503674637 +0200
+++ /work/SRC/openSUSE:Factory/.corosync.new/corosync.changes   2018-04-30 
22:51:19.125143219 +0200
@@ -1,0 +2,6 @@
+Thu Apr 26 06:43:54 UTC 2018 - [email protected]
+
+- NSS_NoDB_Init: the parameter is reserved, must be NULL(bsc#1090996)
+    Added: 0011-NSS_NoDB_Init-the-parameter-is-reserved-must-be-NULL.patch
+
+-------------------------------------------------------------------

New:
----
  0011-NSS_NoDB_Init-the-parameter-is-reserved-must-be-NULL.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ corosync.spec ++++++
--- /var/tmp/diff_new_pack.cgW6f4/_old  2018-04-30 22:51:19.857116512 +0200
+++ /var/tmp/diff_new_pack.cgW6f4/_new  2018-04-30 22:51:19.857116512 +0200
@@ -72,6 +72,7 @@
 Patch15:        0008-bsc#1083561-upgrade-from-1-x-y.patch
 Patch16:        0009-bsc#1088619-add-version.patch
 Patch17:        0010-qdevice-net-instance.c-optarg-should-be-str.patch
+Patch18:        0011-NSS_NoDB_Init-the-parameter-is-reserved-must-be-NULL.patch
 
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 # openais is indeed gone and should be uninstalled. Yes, we do not
@@ -154,6 +155,7 @@
 %patch15 -p1
 %patch16 -p1
 %patch17 -p1
+%patch18 -p1
 
 %build
 %if %{with runautogen}

++++++ 0011-NSS_NoDB_Init-the-parameter-is-reserved-must-be-NULL.patch ++++++
>From 4f6a22ae78055da7b89e237ea6bf6449610a1b90 Mon Sep 17 00:00:00 2001
From: Bin Liu <[email protected]>
Date: Thu, 26 Apr 2018 14:30:31 +0800
Subject: [PATCH] NSS_NoDB_Init: the parameter is reserved, must be NULL

---
 cts/agents/cpg_test_agent.c | 2 +-
 exec/totemcrypto.c          | 2 +-
 test/cpgverify.c            | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/cts/agents/cpg_test_agent.c b/cts/agents/cpg_test_agent.c
index 0837c69c..9ac9b4c2 100644
--- a/cts/agents/cpg_test_agent.c
+++ b/cts/agents/cpg_test_agent.c
@@ -788,7 +788,7 @@ main(int argc, char *argv[])
        list_init (&msg_log_head);
        list_init (&config_chg_log_head);
 
-       if (NSS_NoDB_Init(".") != SECSuccess) {
+       if (NSS_NoDB_Init(NULL) != SECSuccess) {
                qb_log(LOG_ERR, "Couldn't initialize nss");
                exit (0);
        }
diff --git a/exec/totemcrypto.c b/exec/totemcrypto.c
index 64246c98..b35683f9 100644
--- a/exec/totemcrypto.c
+++ b/exec/totemcrypto.c
@@ -670,7 +670,7 @@ static int init_nss_db(struct crypto_instance *instance)
                return 0;
        }
 
-       if (NSS_NoDB_Init(".") != SECSuccess) {
+       if (NSS_NoDB_Init(NULL) != SECSuccess) {
                log_printf(instance->log_level_security, "NSS DB initialization 
failed (err %d)",
                           PR_GetError());
                return -1;
diff --git a/test/cpgverify.c b/test/cpgverify.c
index 928eff33..0462a34d 100644
--- a/test/cpgverify.c
+++ b/test/cpgverify.c
@@ -137,7 +137,7 @@ int main (int argc, char *argv[])
                exit (0);
        }
 
-       if (NSS_NoDB_Init(".") != SECSuccess) {
+       if (NSS_NoDB_Init(NULL) != SECSuccess) {
                printf ("Couldn't initialize nss\n");
                exit (0);
        }
-- 
2.13.6


Reply via email to