diff options
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 541843b180d..2872e7d82e6 100644 --- a/auth/gensec/spnego.c +++ b/auth/gensec/spnego.c @@ -2072,7 +2072,9 @@ static NTSTATUS gensec_spnego_update_out(struct gensec_security *gensec_security TALLOC_CTX *out_mem_ctx, DATA_BLOB *_out) { - 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); DATA_BLOB out = data_blob_null; bool ok; |