Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2011-08-03 | gensec: clarify memory ownership for gensec_session_info() and ↵ | Andrew Bartlett | 1 | -2/+5 | |
gensec_session_key() This is slightly less efficient, because we no longer keep a cache on the gensec structures, but much clearer in terms of memory ownership. Both gensec_session_info() and gensec_session_key() now take a mem_ctx and put the result only on that context. Some duplication of memory in the callers (who were rightly uncertain about who was the rightful owner of the returned memory) has been removed to compensate for the internal copy. Andrew Bartlett | |||||
2011-08-03 | gensec: Remove mem_ctx from calls that do not return memory | Andrew Bartlett | 1 | -4/+2 | |
Signed-off-by: Andrew Tridgell <tridge@samba.org> | |||||
2011-08-03 | gensec: split GENSEC into mechanism-dependent and runtime functions | Andrew Bartlett | 1 | -0/+309 | |
The startup and runtime functions that have no dependencies are moved into the top level. Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org> |