diff --git a/winpr/libwinpr/sspi/NTLM/ntlm.h b/winpr/libwinpr/sspi/NTLM/ntlm.h index 67ffdae4b..1622ab8bc 100644 --- a/winpr/libwinpr/sspi/NTLM/ntlm.h +++ b/winpr/libwinpr/sspi/NTLM/ntlm.h @@ -287,6 +287,7 @@ const char* ntlm_message_type_string(UINT32 messageType); const char* ntlm_state_string(NTLM_STATE state); void ntlm_change_state(NTLM_CONTEXT* ntlm, NTLM_STATE state); NTLM_STATE ntlm_get_state(NTLM_CONTEXT* ntlm); +void ntlm_reset_cipher_state(PSecHandle phContext); SECURITY_STATUS ntlm_computeProofValue(NTLM_CONTEXT* ntlm, SecBuffer* ntproof); SECURITY_STATUS ntlm_computeMicValue(NTLM_CONTEXT* ntlm, SecBuffer* micvalue); diff --git a/winpr/libwinpr/sspi/Negotiate/negotiate.c b/winpr/libwinpr/sspi/Negotiate/negotiate.c index 108b4669c..9739ac77a 100644 --- a/winpr/libwinpr/sspi/Negotiate/negotiate.c +++ b/winpr/libwinpr/sspi/Negotiate/negotiate.c @@ -30,6 +30,9 @@ #include "negotiate.h" +#include "../NTLM/ntlm.h" +#include "../NTLM/ntlm_export.h" +#include "../Kerberos/kerberos.h" #include "../sspi.h" #include "../../log.h" #define TAG WINPR_TAG("negotiate") @@ -37,14 +40,6 @@ static const char NEGO_REG_KEY[] = "Software\\" WINPR_VENDOR_STRING "\\" WINPR_PRODUCT_STRING "\\SSPI\\Negotiate"; -extern const SecurityFunctionTableA NTLM_SecurityFunctionTableA; -extern const SecurityFunctionTableW NTLM_SecurityFunctionTableW; - -extern const SecurityFunctionTableA KERBEROS_SecurityFunctionTableA; -extern const SecurityFunctionTableW KERBEROS_SecurityFunctionTableW; - -extern void ntlm_reset_cipher_state(PSecHandle); - typedef struct { const TCHAR* name;