summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2010-01-16 09:32:35 +0100
committerGünther Deschner <gd@samba.org>2010-03-24 17:34:57 +0100
commit3b33fa72d6b57d1da807250ed6d5c136990ed415 (patch)
tree393b0c2b2e97502f2940c61586635586d6a1785a /source3/include
parentdee63fe4ca5d8dad820ff8b5f15edba41e6be65f (diff)
downloadsamba-3b33fa72d6b57d1da807250ed6d5c136990ed415.tar.gz
samba-3b33fa72d6b57d1da807250ed6d5c136990ed415.tar.bz2
samba-3b33fa72d6b57d1da807250ed6d5c136990ed415.zip
s3:ntlmssp: use c99 types
metze Signed-off-by: Günther Deschner <gd@samba.org>
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/ntlmssp.h4
-rw-r--r--source3/include/proto.h6
2 files changed, 5 insertions, 5 deletions
diff --git a/source3/include/ntlmssp.h b/source3/include/ntlmssp.h
index 55ab9225f4..3dc3810998 100644
--- a/source3/include/ntlmssp.h
+++ b/source3/include/ntlmssp.h
@@ -54,8 +54,8 @@ struct ntlmssp_state
bool use_ccache;
const char *user;
const char *domain;
- unsigned char *nt_hash;
- unsigned char *lm_hash;
+ uint8_t *nt_hash;
+ uint8_t *lm_hash;
struct {
const char *netbios_name;
diff --git a/source3/include/proto.h b/source3/include/proto.h
index f45e745f32..e8f99859b8 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -3199,12 +3199,12 @@ NTSTATUS nt_status_squash(NTSTATUS nt_status);
void debug_ntlmssp_flags(uint32 neg_flags);
NTSTATUS ntlmssp_set_username(struct ntlmssp_state *ntlmssp_state, const char *user) ;
NTSTATUS ntlmssp_set_hashes(struct ntlmssp_state *ntlmssp_state,
- const unsigned char lm_hash[16],
- const unsigned char nt_hash[16]) ;
+ const uint8_t lm_hash[16],
+ const uint8_t nt_hash[16]) ;
NTSTATUS ntlmssp_set_password(struct ntlmssp_state *ntlmssp_state, const char *password) ;
NTSTATUS ntlmssp_set_domain(struct ntlmssp_state *ntlmssp_state, const char *domain) ;
void ntlmssp_want_feature_list(struct ntlmssp_state *ntlmssp_state, char *feature_list);
-void ntlmssp_want_feature(struct ntlmssp_state *ntlmssp_state, uint32 feature);
+void ntlmssp_want_feature(struct ntlmssp_state *ntlmssp_state, uint32_t feature);
NTSTATUS ntlmssp_update(struct ntlmssp_state *ntlmssp_state,
const DATA_BLOB in, DATA_BLOB *out) ;
void ntlmssp_end(struct ntlmssp_state **ntlmssp_state);