cryptsetup - Fix uuid bug, cleanup
commit0482a033108a2b6e34ee99c470fd84d91119e291
authorAlex Hornung <ahornung@gmail.com>
Sun, 22 Aug 2010 11:16:23 +0000 (22 12:16 +0100)
committerAlex Hornung <ahornung@gmail.com>
Sun, 22 Aug 2010 11:16:23 +0000 (22 12:16 +0100)
treed1586b79531fde21cec3c8cbeba4ed18a913f102
parent48a0340e05e391934a718c3d101ddab92bb98e14
cryptsetup - Fix uuid bug, cleanup

* Clean up some useless debug and improve some other to be more
  meaningful.

* Fix (another) bug in the uuid mess. Linux' uuid_unparse doesn't
  allocate any memory, unlike our uuid_to_string. Work around it by
  using a temporary buffer and then copying into the final destination.
  The compiler has been warning me about this one long enough...
contrib/cryptsetup/lib/libdevmapper.c
contrib/cryptsetup/lib/utils.c
contrib/cryptsetup/luks/keymanage.c
contrib/cryptsetup/luks/pbkdf.c