libcli/auth/smbencrypt: in E_deshash, use talloc_stackframe instead of "#if _SAMBA_BU...
authorMichael Adam <obnox@samba.org>
Wed, 11 May 2011 09:57:10 +0000 (11:57 +0200)
committerVolker Lendecke <vlendec@samba.org>
Thu, 12 May 2011 10:52:02 +0000 (12:52 +0200)
commitcd1d75c7a4f84e16c6da2d56ddcd42e285453d21
treea4a41ea5412e1602aee9554821603dcb8cbe563d
parent26b683116459dad57888dcab6f6f05400e855894
libcli/auth/smbencrypt: in E_deshash, use talloc_stackframe instead of "#if _SAMBA_BUILD_ == 3" and talloc_tos()

talloc_stackframe() is used in other shared components already,
and if the stack is a talloc_pool, then in most cases, it should
also not be more expensive than directly using talloc_tos().

Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>

Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Thu May 12 12:52:02 CEST 2011 on sn-devel-104
libcli/auth/smbencrypt.c