diff --git a/lib/krb5/crypto.c b/lib/krb5/crypto.c index 7aaaf3572..678e8b7da 100644 --- a/lib/krb5/crypto.c +++ b/lib/krb5/crypto.c @@ -4315,7 +4315,7 @@ _krb5_pk_octetstring2key(krb5_context context, size_t keylen, offset; void *keydata; unsigned char counter; - char shaoutput[20]; + unsigned char shaoutput[20]; if(et == NULL) { krb5_set_error_string(context, "encryption type %d not supported",