mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-03-13 14:27:59 +08:00
ITS#5696 des_set_key -> des_set_key_and_parity
This commit is contained in:
parent
d430fa0346
commit
159461bfc8
@ -657,7 +657,7 @@ static int chk_md5(
|
||||
* abstract away setting the parity.
|
||||
*/
|
||||
static void
|
||||
des_set_key( des_key *key, unsigned char *keyData)
|
||||
des_set_key_and_parity( des_key *key, unsigned char *keyData)
|
||||
{
|
||||
memcpy(key, keyData, 8);
|
||||
des_set_odd_parity( key );
|
||||
@ -670,7 +670,7 @@ des_set_key( des_key *key, unsigned char *keyData)
|
||||
* implement MozNSS wrappers for the openSSL calls
|
||||
*/
|
||||
static void
|
||||
des_set_key( des_key *key, unsigned char *keyData)
|
||||
des_set_key_and_parity( des_key *key, unsigned char *keyData)
|
||||
{
|
||||
SECItem keyDataItem;
|
||||
PK11SlotInfo *slot;
|
||||
@ -825,7 +825,7 @@ static void lmPasswd_to_key(
|
||||
k[6] = ((lpw[5] & 0x3F) << 2) | (lpw[6] >> 6);
|
||||
k[7] = ((lpw[6] & 0x7F) << 1);
|
||||
|
||||
des_set_key( key, k );
|
||||
des_set_key_and_parity( key, k );
|
||||
}
|
||||
|
||||
static int chk_lanman(
|
||||
|
Loading…
x
Reference in New Issue
Block a user