summaryrefslogtreecommitdiff
path: root/source4/rpc_server/dcesrv_crypto.c
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2004-06-04 07:46:24 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:56:25 -0500
commit8f84a98e299e63b7fb7fdd797e8e7969b68a106f (patch)
tree5ee006ad2a8a827f81f2850dedc7098d1f14a918 /source4/rpc_server/dcesrv_crypto.c
parent8087d844ef59a82617be51f7c887b9bafe362f80 (diff)
downloadsamba-8f84a98e299e63b7fb7fdd797e8e7969b68a106f.tar.gz
samba-8f84a98e299e63b7fb7fdd797e8e7969b68a106f.tar.bz2
samba-8f84a98e299e63b7fb7fdd797e8e7969b68a106f.zip
r1001: in samba4 we don't(shouldn't) use typedef's anymore...
metze (This used to be commit ac5f6f7e511a730448012c8a709887827aea2281)
Diffstat (limited to 'source4/rpc_server/dcesrv_crypto.c')
-rw-r--r--source4/rpc_server/dcesrv_crypto.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/source4/rpc_server/dcesrv_crypto.c b/source4/rpc_server/dcesrv_crypto.c
index 64ff4ee30b..f9e109abd2 100644
--- a/source4/rpc_server/dcesrv_crypto.c
+++ b/source4/rpc_server/dcesrv_crypto.c
@@ -71,7 +71,7 @@ NTSTATUS dcesrv_crypto_update(struct dcesrv_auth *auth,
TALLOC_CTX *out_mem_ctx,
const DATA_BLOB in, DATA_BLOB *out)
{
- AUTH_NTLMSSP_STATE *ntlmssp = auth->crypto_state;
+ struct auth_ntlmssp_state *ntlmssp = auth->crypto_state;
return ntlmssp_update(ntlmssp->ntlmssp_state, out_mem_ctx, in, out);
}
@@ -83,7 +83,7 @@ NTSTATUS dcesrv_crypto_update(struct dcesrv_auth *auth,
NTSTATUS dcesrv_crypto_seal(struct dcesrv_auth *auth,
TALLOC_CTX *sig_mem_ctx, uint8_t *data, size_t length, DATA_BLOB *sig)
{
- AUTH_NTLMSSP_STATE *ntlmssp = auth->crypto_state;
+ struct auth_ntlmssp_state *ntlmssp = auth->crypto_state;
return ntlmssp_seal_packet(ntlmssp->ntlmssp_state, sig_mem_ctx, data, length, sig);
}
@@ -94,7 +94,7 @@ NTSTATUS dcesrv_crypto_seal(struct dcesrv_auth *auth,
NTSTATUS dcesrv_crypto_sign(struct dcesrv_auth *auth,
TALLOC_CTX *sig_mem_ctx, const uint8_t *data, size_t length, DATA_BLOB *sig)
{
- AUTH_NTLMSSP_STATE *ntlmssp = auth->crypto_state;
+ struct auth_ntlmssp_state *ntlmssp = auth->crypto_state;
return ntlmssp_sign_packet(ntlmssp->ntlmssp_state, sig_mem_ctx, data, length, sig);
}
@@ -105,7 +105,7 @@ NTSTATUS dcesrv_crypto_sign(struct dcesrv_auth *auth,
NTSTATUS dcesrv_crypto_check_sig(struct dcesrv_auth *auth,
TALLOC_CTX *sig_mem_ctx, const uint8_t *data, size_t length, const DATA_BLOB *sig)
{
- AUTH_NTLMSSP_STATE *ntlmssp = auth->crypto_state;
+ struct auth_ntlmssp_state *ntlmssp = auth->crypto_state;
return ntlmssp_check_packet(ntlmssp->ntlmssp_state, sig_mem_ctx, data, length, sig);
}
@@ -116,7 +116,7 @@ NTSTATUS dcesrv_crypto_check_sig(struct dcesrv_auth *auth,
NTSTATUS dcesrv_crypto_unseal(struct dcesrv_auth *auth,
TALLOC_CTX *sig_mem_ctx, uint8_t *data, size_t length, DATA_BLOB *sig)
{
- AUTH_NTLMSSP_STATE *ntlmssp = auth->crypto_state;
+ struct auth_ntlmssp_state *ntlmssp = auth->crypto_state;
return ntlmssp_unseal_packet(ntlmssp->ntlmssp_state, sig_mem_ctx, data, length, sig);
}