mirror of
https://github.com/curl/curl.git
synced 2026-05-30 03:47:27 +03:00
NTLM: use DES_set_key_unchecked with OpenSSL
... as the previously used function DES_set_key() will in some cases reject using a key that it deems "weak" which will cause curl to continue using the unitialized buffer content as key instead. Assisted-by: Harry Sintonen Fixes #7779 Closes #7781
This commit is contained in:
parent
02c9802fd1
commit
1ddfa8e480
1 changed files with 1 additions and 1 deletions
|
|
@ -150,7 +150,7 @@ static void setup_des_key(const unsigned char *key_56,
|
|||
DES_set_odd_parity(&key);
|
||||
|
||||
/* Set the key */
|
||||
DES_set_key(&key, ks);
|
||||
DES_set_key_unchecked(&key, ks);
|
||||
}
|
||||
|
||||
#elif defined(USE_GNUTLS)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue