summaryrefslogtreecommitdiff
path: root/lib/krb5/crypto-des3.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/krb5/crypto-des3.c')
-rw-r--r--lib/krb5/crypto-des3.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/krb5/crypto-des3.c b/lib/krb5/crypto-des3.c
index 37fadf591..566f31603 100644
--- a/lib/krb5/crypto-des3.c
+++ b/lib/krb5/crypto-des3.c
@@ -278,6 +278,6 @@ _krb5_DES3_random_to_key(krb5_context context,
for (i = 0; i < 3; i++) {
DES_set_odd_parity(&k[i]);
if(DES_is_weak_key(&k[i]))
- _krb5_xor(&k[i], (const unsigned char*)"\0\0\0\0\0\0\0\xf0");
+ _krb5_xor8(k[i], (const unsigned char*)"\0\0\0\0\0\0\0\xf0");
}
}