summaryrefslogtreecommitdiffstats
path: root/src/ntlm.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ntlm.c')
-rw-r--r--src/ntlm.c46
1 files changed, 0 insertions, 46 deletions
diff --git a/src/ntlm.c b/src/ntlm.c
index 9cb3814..41b21f6 100644
--- a/src/ntlm.c
+++ b/src/ntlm.c
@@ -36,25 +36,6 @@
#include "ntlm.h"
#pragma pack(push, 1)
-struct wire_msg_hdr {
- uint8_t signature[8];
- uint32_t msg_type;
-};
-#pragma pack(pop)
-
-/* A wire string, the offset is relative to the mesage and must fall into the
- * payload section.
- * max_len should be set equal to len and ignored by servers.
- */
-#pragma pack(push, 1)
-struct wire_field_hdr {
- uint16_t len;
- uint16_t max_len;
- uint32_t offset;
-};
-#pragma pack(pop)
-
-#pragma pack(push, 1)
struct wire_neg_msg {
struct wire_msg_hdr header;
uint32_t neg_flags;
@@ -77,20 +58,6 @@ struct wire_chal_msg {
#pragma pack(pop)
#pragma pack(push, 1)
-struct wire_auth_msg {
- struct wire_msg_hdr header;
- struct wire_field_hdr lm_chalresp;
- struct wire_field_hdr nt_chalresp;
- struct wire_field_hdr domain_name;
- struct wire_field_hdr user_name;
- struct wire_field_hdr workstation;
- struct wire_field_hdr enc_sess_key;
- uint32_t neg_flags;
- uint8_t payload[]; /* variable */
-};
-#pragma pack(pop)
-
-#pragma pack(push, 1)
struct wire_av_pair {
uint16_t av_id;
uint16_t av_len;
@@ -142,19 +109,6 @@ struct wire_ntlm_cli_chal {
};
#pragma pack(pop)
-/* Version information.
- * Used only for debugging and usually placed as the head of the payload when
- * used */
-#pragma pack(push, 1)
-struct wire_version {
- uint8_t major;
- uint8_t minor;
- uint16_t build;
- uint8_t reserved[3];
- uint8_t revision;
-};
-#pragma pack(pop)
-
struct ntlm_ctx {
iconv_t from_oem;
iconv_t to_oem;