Refactored NLA

* Simplified client/server state machine
* Encapsulated steps in functions
* Added proper debug logging so that state changes are easy to
  follow
This commit is contained in:
akallabeth
2021-04-16 15:48:09 +02:00
committed by akallabeth
parent bfbe6b62b5
commit 460fef545d
2 changed files with 890 additions and 898 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -57,6 +57,9 @@ FREERDP_LOCAL SEC_WINNT_AUTH_IDENTITY* nla_get_identity(rdpNla* nla);
FREERDP_LOCAL NLA_STATE nla_get_state(rdpNla* nla);
FREERDP_LOCAL BOOL nla_set_state(rdpNla* nla, NLA_STATE state);
FREERDP_LOCAL const char* nla_get_state_str(NLA_STATE state);
FREERDP_LOCAL DWORD nla_get_error(rdpNla* nla);
FREERDP_LOCAL BOOL nla_set_service_principal(rdpNla* nla, LPTSTR principal);