[PATCH] do not deinit crypto after generating uuid



This caused the second call to nm_utils_uuid_generate_from_string to
never return.

=== modified file 'libnm-util/nm-utils.c'
--- libnm-util/nm-utils.c	2008-08-27 02:57:21 +0000
+++ libnm-util/nm-utils.c	2008-09-08 12:09:36 +0000
@@ -1147,12 +1147,11 @@ nm_utils_uuid_generate_from_string (cons
 		goto out;
 	}
 
 	buf = g_malloc0 (37);
 	uuid_unparse_lower (*uuid, &buf[0]);
 
 out:
 	g_free (uuid);
-	crypto_deinit ();
 	return buf;
 }
 



 - Alexander



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]