Просмотр исходного кода

NSS_NoDB_Init: the parameter is reserved, must be NULL

Signed-off-by: Ferenc Wágner <wferi@debian.org>
Reviewed-by: Jan Friesse <jfriesse@redhat.com>
Ferenc Wágner 7 лет назад
Родитель
Сommit
67c644e69b
2 измененных файлов с 2 добавлено и 2 удалено
  1. 1 1
      cts/agents/cpg_test_agent.c
  2. 1 1
      test/cpgverify.c

+ 1 - 1
cts/agents/cpg_test_agent.c

@@ -789,7 +789,7 @@ main(int argc, char *argv[])
 	qb_list_init (&msg_log_head);
 	qb_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);
 	}

+ 1 - 1
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);
 	}