pygensec: remove special case handling for None for buffers
authorAndrew Tridgell <tridge@samba.org>
Tue, 18 Jan 2011 23:31:28 +0000 (10:31 +1100)
committerAndrew Tridgell <tridge@samba.org>
Wed, 19 Jan 2011 00:35:22 +0000 (01:35 +0100)
commitbc0230be1d3d439fd5219a2123d4195b178870bc
treecea7420fea7459405e1e84e553a0f8f161d9ac80
parentf8f1711f61d8b3befe10173081cecaa431f0c714
pygensec: remove special case handling for None for buffers

always returning a buffer makes life easier for callers

Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
source4/auth/gensec/pygensec.c
source4/scripting/python/samba/tests/gensec.py