auth/gensec: add GENSEC_UPDATE_IS_NTERROR() helper macro
authorStefan Metzmacher <metze@samba.org>
Wed, 14 Jun 2017 08:39:26 +0000 (10:39 +0200)
committerStefan Metzmacher <metze@samba.org>
Sat, 17 Jun 2017 14:48:11 +0000 (16:48 +0200)
commitc3a47ceab43989ccc513c16cd9c65b339ebb9f2f
tree089186117a16861cc49b8f4f056f724bfd14f6cf
parent67dd9ceee684cc60f9538005943e5129d3c552ab
auth/gensec: add GENSEC_UPDATE_IS_NTERROR() helper macro

This allows us to write clearer code that
checks for NT_STATUS_OK and NT_STATUS_MORE_PROCESSING_REQUIRED.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
auth/gensec/gensec.h