diff options
author | Andreas Schneider <asn@samba.org> | 2017-07-19 11:02:39 +0200 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2017-07-25 13:51:11 +0200 |
commit | 62ffe20fcbbd1a78922e0e9a02cf151362ee1de8 (patch) | |
tree | d55583aba1d7515c51b9e9b960d2ed27bc8e8989 /auth | |
parent | e492950184c3df7cfb0a2e7fb75ed5e5df8e0805 (diff) | |
download | samba-62ffe20fcbbd1a78922e0e9a02cf151362ee1de8.tar.gz |
auth/spnego: Use talloc_get_type_abort() in gsensec_spnego_update_in()
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'auth')
-rw-r--r-- | auth/gensec/spnego.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/auth/gensec/spnego.c b/auth/gensec/spnego.c index f286ec15a51..541843b180d 100644 --- a/auth/gensec/spnego.c +++ b/auth/gensec/spnego.c @@ -1741,7 +1741,9 @@ static NTSTATUS gensec_spnego_update_in(struct gensec_security *gensec_security, const DATA_BLOB in, TALLOC_CTX *mem_ctx, DATA_BLOB *full_in) { - struct spnego_state *spnego_state = (struct spnego_state *)gensec_security->private_data; + struct spnego_state *spnego_state = + talloc_get_type_abort(gensec_security->private_data, + struct spnego_state); size_t expected; bool ok; |