diff options
author | Simo Sorce <simo@redhat.com> | 2014-08-07 12:43:41 -0400 |
---|---|---|
committer | Simo Sorce <simo@redhat.com> | 2014-08-07 12:44:46 -0400 |
commit | 1f9635092ed65973b878e650ce34c2a425e396a4 (patch) | |
tree | 2754f2ba7e5f7f062d6bc1ae233412ad27b6d3c4 | |
parent | 1f495acc0b3ff4e5a18e86153d848c5fc68b8718 (diff) | |
download | gss-ntlmssp-1f9635092ed65973b878e650ce34c2a425e396a4.tar.gz gss-ntlmssp-1f9635092ed65973b878e650ce34c2a425e396a4.tar.xz gss-ntlmssp-1f9635092ed65973b878e650ce34c2a425e396a4.zip |
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.
-rw-r--r-- | src/ntlm_crypto.c | 8 |
1 files changed, 0 insertions, 8 deletions
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 { |