From 1f9635092ed65973b878e650ce34c2a425e396a4 Mon Sep 17 00:00:00 2001 From: Simo Sorce Date: Thu, 7 Aug 2014 12:43:41 -0400 Subject: Let caller decide whether to (un)seal or not Windows seem to ignore the sealing flag and seal anyway at least in some case, so leave the decision to the caller. --- src/ntlm_crypto.c | 8 -------- 1 file changed, 8 deletions(-) (limited to 'src') diff --git a/src/ntlm_crypto.c b/src/ntlm_crypto.c index 0b72084..4d7b055 100644 --- a/src/ntlm_crypto.c +++ b/src/ntlm_crypto.c @@ -787,10 +787,6 @@ int ntlm_seal(uint32_t flags, struct ntlm_signseal_handle *h; int ret; - if (!(flags & NTLMSSP_NEGOTIATE_SEAL)) { - return ENOTSUP; - } - h = &state->send; ret = RC4_UPDATE(h->seal_handle, message, output); @@ -824,10 +820,6 @@ int ntlm_unseal(uint32_t flags, struct ntlm_signseal_handle *h; int ret; - if (!(flags & NTLMSSP_NEGOTIATE_SEAL)) { - return ENOTSUP; - } - if (!state->ext_sec) { h = &state->send; } else { -- cgit