Files
heimdal/lib/hdb
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-05-21 11:57:31 -07:00
2011-05-21 11:57:31 -07:00
2011-05-21 11:57:31 -07:00
2011-05-21 11:57:31 -07:00
2005-04-25 17:33:40 +00:00
2011-05-21 11:57:31 -07:00
2011-07-26 20:15:33 -07:00
2010-11-28 11:46:46 -08:00
2011-07-30 14:27:32 -07:00
2011-07-22 16:07:08 -05:00
2011-05-21 11:57:31 -07:00