remove cast that to avoid dropping const
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15463 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -350,7 +350,7 @@ decrypt_tkt_with_subkey (krb5_context context,
|
|||||||
krb5_crypto_destroy(context, crypto);
|
krb5_crypto_destroy(context, crypto);
|
||||||
if(ret && subkey){
|
if(ret && subkey){
|
||||||
/* DCE compat -- try to decrypt with subkey */
|
/* DCE compat -- try to decrypt with subkey */
|
||||||
ret = krb5_crypto_init(context, (krb5_keyblock*)subkey, 0, &crypto);
|
ret = krb5_crypto_init(context, subkey, 0, &crypto);
|
||||||
if (ret)
|
if (ret)
|
||||||
return ret;
|
return ret;
|
||||||
ret = krb5_decrypt_EncryptedData (context,
|
ret = krb5_decrypt_EncryptedData (context,
|
||||||
|
Reference in New Issue
Block a user