From 85588d60463ad10b94ee3cc6a7aa17ff02883cf8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Love=20H=C3=B6rnquist=20=C3=85strand?= Date: Fri, 17 Jun 2005 05:03:45 +0000 Subject: [PATCH] (krb5_string_to_key): unconst password git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15479 ec53bebd-3082-4978-b11e-865c3cabbd6b --- lib/krb5/crypto.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/krb5/crypto.c b/lib/krb5/crypto.c index 7743f191d..c00ad25f6 100644 --- a/lib/krb5/crypto.c +++ b/lib/krb5/crypto.c @@ -1174,7 +1174,7 @@ krb5_string_to_key (krb5_context context, krb5_keyblock *key) { krb5_data pw; - pw.data = (void*)password; + pw.data = rk_UNCONST(password); pw.length = strlen(password); return krb5_string_to_key_data(context, enctype, pw, principal, key); }