Files
heimdal/lib
Roland C. Dowdeswell 00bea41dcb Fix hdb_generate_key_set() to honour ks_tuple, n_ks_tuple.
The code was generating a char ** of string representations of the
ks_tuple() array but it was not using it.  We modify the code to:

	1.  extend the array returned by ks_tuple2str() to include
	    enough space for the trailing NULL and ensure that there
	    is a NULL at the end,

	2.  not free the array before exiting ks_tuple2str() as we
	    intend to use it in the caller,

	3.  re-organise the pointers in hdb_generate_key_set() to
	    make it more clear how we are to free things that have
	    been allocated.

	4.  free the char ** given us by ks_tuple2str() if it has
	    been allocated.

Signed-off-by: Nicolas Williams <nico@cryptonector.com>
2011-11-29 14:47:37 -06:00
..
2011-11-22 12:18:48 -08:00
2011-11-21 20:33:53 -08:00
2011-11-13 10:01:40 -08:00
2011-05-22 17:28:24 -07:00
2011-11-29 12:52:32 +11:00
2011-05-21 11:57:31 -07:00
2011-09-23 09:06:02 -04:00
2011-11-16 19:42:45 -08:00
2011-07-30 14:15:14 -07:00