summaryrefslogtreecommitdiff
path: root/source4/libcli
diff options
context:
space:
mode:
Diffstat (limited to 'source4/libcli')
-rw-r--r--source4/libcli/raw/clisession.c2
-rw-r--r--source4/libcli/util/smbdes.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/source4/libcli/raw/clisession.c b/source4/libcli/raw/clisession.c
index 641eff053e..780ff5837b 100644
--- a/source4/libcli/raw/clisession.c
+++ b/source4/libcli/raw/clisession.c
@@ -403,7 +403,7 @@ static NTSTATUS smb_raw_session_setup_generic(struct cli_session *session,
/****************************************************************************
Perform a session setup (sync interface)
this interface allows for RAW_SESSSETUP_GENERIC to auto-select session
-setup varient based on negotiated protocol options
+setup variant based on negotiated protocol options
****************************************************************************/
NTSTATUS smb_raw_session_setup(struct cli_session *session, TALLOC_CTX *mem_ctx,
union smb_sesssetup *parms)
diff --git a/source4/libcli/util/smbdes.c b/source4/libcli/util/smbdes.c
index 2492f9a1ba..99c2c00977 100644
--- a/source4/libcli/util/smbdes.c
+++ b/source4/libcli/util/smbdes.c
@@ -405,7 +405,7 @@ void arcfour_crypt_blob(uint8_t *data, int len, const DATA_BLOB *key)
}
/*
- a varient that assumes a 16 byte key. This should be removed
+ a variant that assumes a 16 byte key. This should be removed
when the last user is gone
*/
void arcfour_crypt(uint8_t *data, const uint8_t keystr[16], int len)