diff options
author | Simo Sorce <simo@redhat.com> | 2013-10-16 21:51:16 -0400 |
---|---|---|
committer | Simo Sorce <simo@redhat.com> | 2013-10-18 16:29:51 -0400 |
commit | fd8d8833e2f3496893c970550eecc6449b59b9d5 (patch) | |
tree | 25fc65ee9548c38b861fb65986b452fc6ad36bc4 /src/gss_ntlmssp.h | |
parent | 1793582754d508191bf90404b0936060060b9027 (diff) | |
download | gss-ntlmssp-fd8d8833e2f3496893c970550eecc6449b59b9d5.tar.gz gss-ntlmssp-fd8d8833e2f3496893c970550eecc6449b59b9d5.tar.xz gss-ntlmssp-fd8d8833e2f3496893c970550eecc6449b59b9d5.zip |
Add way to set sequence numbres.
In NTLMSSP connectionless mode applications are supposed to provide the
sequence number, however GSSAPI's get_mic and verify_mic functions do
not allow to pass an explicit sequence number.
Allow to override the context sequence numbers using a custom oid and
implemnting gss_set_sec_context_option()
Allows the operation only if the context is in connectionless mode.
Diffstat (limited to 'src/gss_ntlmssp.h')
-rw-r--r-- | src/gss_ntlmssp.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gss_ntlmssp.h b/src/gss_ntlmssp.h index 2b93d09..bba85f9 100644 --- a/src/gss_ntlmssp.h +++ b/src/gss_ntlmssp.h @@ -257,6 +257,11 @@ uint32_t gssntlm_accept_sec_context(uint32_t *minor_status, uint32_t *time_rec, gss_cred_id_t *delegated_cred_handle); +uint32_t gssntlm_set_sec_context_option(uint32_t *minor_status, + gss_ctx_id_t *context_handle, + const gss_OID desired_object, + const gss_buffer_t value); + uint32_t gssntlm_get_mic(uint32_t *minor_status, gss_ctx_id_t context_handle, gss_qop_t qop_req, |