summaryrefslogtreecommitdiff
path: root/lib/krb5/crypto-des-common.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/krb5/crypto-des-common.c')
-rw-r--r--lib/krb5/crypto-des-common.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/krb5/crypto-des-common.c b/lib/krb5/crypto-des-common.c
index ae9a10942..2565914de 100644
--- a/lib/krb5/crypto-des-common.c
+++ b/lib/krb5/crypto-des-common.c
@@ -40,9 +40,8 @@
*/
KRB5_LIB_FUNCTION void KRB5_LIB_CALL
-_krb5_xor (DES_cblock *key, const unsigned char *b)
+_krb5_xor8(unsigned char *a, const unsigned char *b)
{
- unsigned char *a = (unsigned char*)key;
a[0] ^= b[0];
a[1] ^= b[1];
a[2] ^= b[2];