diff options
author | Stefan Metzmacher <metze@samba.org> | 2004-06-04 12:32:37 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:56:26 -0500 |
commit | 2d6207add7a2e16db619a4cfc1a94ae4ad2fd9e8 (patch) | |
tree | 41af0c145d0bab545f0f1148143090cf95352751 /source4/rpc_server/dcesrv_crypto_ntlmssp.c | |
parent | 9eb6afb00d85c1a7b367d51a19eed41172f7a2e9 (diff) | |
download | samba-2d6207add7a2e16db619a4cfc1a94ae4ad2fd9e8.tar.gz samba-2d6207add7a2e16db619a4cfc1a94ae4ad2fd9e8.tar.bz2 samba-2d6207add7a2e16db619a4cfc1a94ae4ad2fd9e8.zip |
r1010: make the dcesrv_crypto code a bit more generic...
fix type 'cyrpto' -> 'crypto'
metze
(This used to be commit 90f4777dfcb141b646063128c82f4c03bd176413)
Diffstat (limited to 'source4/rpc_server/dcesrv_crypto_ntlmssp.c')
-rw-r--r-- | source4/rpc_server/dcesrv_crypto_ntlmssp.c | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/source4/rpc_server/dcesrv_crypto_ntlmssp.c b/source4/rpc_server/dcesrv_crypto_ntlmssp.c index b894f0f25d..0f1939ea1b 100644 --- a/source4/rpc_server/dcesrv_crypto_ntlmssp.c +++ b/source4/rpc_server/dcesrv_crypto_ntlmssp.c @@ -113,7 +113,7 @@ static void dcesrv_crypto_ntlmssp_end(struct dcesrv_auth *auth) return; } -static const struct dcesrv_cyrpto_ops dcesrv_crypto_ntlmssp_ops = { +static const struct dcesrv_crypto_ops dcesrv_crypto_ntlmssp_ops = { .name = "ntlmssp", .auth_type = DCERPC_AUTH_TYPE_NTLMSSP, .start = dcesrv_crypto_ntlmssp_start, @@ -128,12 +128,7 @@ static const struct dcesrv_cyrpto_ops dcesrv_crypto_ntlmssp_ops = { /* startup the cryptographic side of an authenticated dcerpc server */ -NTSTATUS dcesrv_crypto_ntlmssp_get_ops(struct dcesrv_connection *dce_conn, - struct dcesrv_auth *auth) +const struct dcesrv_crypto_ops *dcesrv_crypto_ntlmssp_get_ops(void) { - NTSTATUS status = NT_STATUS_OK; - - auth->crypto_ctx.ops = &dcesrv_crypto_ntlmssp_ops; - - return status; + return &dcesrv_crypto_ntlmssp_ops; } |