Explorar el Código

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 hace 7 años
padre
commit
185bc5ba9f
Se han modificado 3 ficheros con 3 adiciones y 3 borrados
  1. 1 1
      cts/agents/cpg_test_agent.c
  2. 1 1
      exec/totemcrypto.c
  3. 1 1
      test/cpgverify.c

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

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

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