diff --git a/lib/krb5/crypto.c b/lib/krb5/crypto.c index 0b293afec..c9951e4ff 100644 --- a/lib/krb5/crypto.c +++ b/lib/krb5/crypto.c @@ -2011,10 +2011,11 @@ DES_PCBC_encrypt_key_ivec(krb5_context context, void _krb5_aes_cts_encrypt(const unsigned char *in, unsigned char *out, - size_t len, const AES_KEY *key, + size_t len, const void *aes_key, unsigned char *ivec, const int enc) { unsigned char tmp[AES_BLOCK_SIZE]; + const AES_KEY *key = aes_key; /* XXX remove this when we always have AES */ int i; /*