summaryrefslogtreecommitdiff
path: root/source3/libsmb
diff options
context:
space:
mode:
authorRafal Szczesniak <mimir@samba.org>2003-02-13 21:40:35 +0000
committerRafal Szczesniak <mimir@samba.org>2003-02-13 21:40:35 +0000
commitce306f8b08cc80d72e795e2795e1d71b5f43b93f (patch)
treed4d236ad69678db29f46af0b8eda30ef18cf303a /source3/libsmb
parentdb937d39656c1d1bace72b67724902e18b751330 (diff)
downloadsamba-ce306f8b08cc80d72e795e2795e1d71b5f43b93f.tar.gz
samba-ce306f8b08cc80d72e795e2795e1d71b5f43b93f.tar.bz2
samba-ce306f8b08cc80d72e795e2795e1d71b5f43b93f.zip
A few typo fixes Andrew eventually let off to me.
Rafal (This used to be commit 16a66cf17a544a214b7c5b483c81c7568a18a779)
Diffstat (limited to 'source3/libsmb')
-rw-r--r--source3/libsmb/clispnego.c8
-rw-r--r--source3/libsmb/ntlmssp.c2
2 files changed, 5 insertions, 5 deletions
diff --git a/source3/libsmb/clispnego.c b/source3/libsmb/clispnego.c
index 277bf4765f..eabddd1765 100644
--- a/source3/libsmb/clispnego.c
+++ b/source3/libsmb/clispnego.c
@@ -447,11 +447,11 @@ DATA_BLOB spnego_gen_auth_response(DATA_BLOB *ntlmssp_reply, NTSTATUS nt_status)
uint8 negResult;
if (NT_STATUS_IS_OK(nt_status)) {
- negResult = SPNGEO_NEG_RESULT_ACCEPT;
+ negResult = SPNEGO_NEG_RESULT_ACCEPT;
} else if (NT_STATUS_EQUAL(nt_status, NT_STATUS_MORE_PROCESSING_REQUIRED)) {
- negResult = SPNGEO_NEG_RESULT_INCOMPLETE;
+ negResult = SPNEGO_NEG_RESULT_INCOMPLETE;
} else {
- negResult = SPNGEO_NEG_RESULT_REJECT;
+ negResult = SPNEGO_NEG_RESULT_REJECT;
}
ZERO_STRUCT(data);
@@ -461,7 +461,7 @@ DATA_BLOB spnego_gen_auth_response(DATA_BLOB *ntlmssp_reply, NTSTATUS nt_status)
asn1_push_tag(&data, ASN1_CONTEXT(0));
asn1_write_enumerated(&data, negResult);
asn1_pop_tag(&data);
- if (negResult == SPNGEO_NEG_RESULT_INCOMPLETE) {
+ if (negResult == SPNEGO_NEG_RESULT_INCOMPLETE) {
asn1_push_tag(&data,ASN1_CONTEXT(1));
asn1_write_OID(&data, OID_NTLMSSP);
asn1_pop_tag(&data);
diff --git a/source3/libsmb/ntlmssp.c b/source3/libsmb/ntlmssp.c
index 886f872764..969508a360 100644
--- a/source3/libsmb/ntlmssp.c
+++ b/source3/libsmb/ntlmssp.c
@@ -24,7 +24,7 @@
#include "includes.h"
/**
- * Default challange generation code.
+ * Default challenge generation code.
*
*/