diff options
author | Daniel Stenberg <daniel@haxx.se> | 2022-11-16 09:11:17 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2022-11-16 11:26:22 +0100 |
commit | df00df1e60053886a0f4483ae9f07dabc734361c (patch) | |
tree | 2160f4b97b96f203879cdafdaeedc3f8411bab3b /lib/curl_ntlm_core.c | |
parent | bbb36409de55fcf8e0110951c26896f59ba8aa5f (diff) | |
download | curl-df00df1e60053886a0f4483ae9f07dabc734361c.tar.gz |
ntlm: improve comment for encrypt_des
Reported-by: Andrei Rybak
Fixes #9903
Closes #9925
Diffstat (limited to 'lib/curl_ntlm_core.c')
-rw-r--r-- | lib/curl_ntlm_core.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/curl_ntlm_core.c b/lib/curl_ntlm_core.c index 461c009d2..690f8f767 100644 --- a/lib/curl_ntlm_core.c +++ b/lib/curl_ntlm_core.c @@ -186,9 +186,9 @@ static void setup_des_key(const unsigned char *key_56, #elif defined(USE_NSS) /* - * Expands a 56 bit key KEY_56 to 64 bit and encrypts 64 bit of data, using - * the expanded key. The caller is responsible for giving 64 bit of valid - * data is IN and (at least) 64 bit large buffer as OUT. + * encrypt_des() expands a 56 bit key KEY_56 to 64 bit and encrypts 64 bit of + * data, using the expanded key. IN should point to 64 bits of source data, + * OUT to a 64 bit output buffer. */ static bool encrypt_des(const unsigned char *in, unsigned char *out, const unsigned char *key_56) |