actually use the correct key (from Daniel Kouril)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10833 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 1997 - 2001 Kungliga Tekniska H<>gskolan
|
* Copyright (c) 1997 - 2002 Kungliga Tekniska H<>gskolan
|
||||||
* (Royal Institute of Technology, Stockholm, Sweden).
|
* (Royal Institute of Technology, Stockholm, Sweden).
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
@@ -74,7 +74,7 @@ verify_checksum(krb5_context context,
|
|||||||
else
|
else
|
||||||
key = auth_context->keyblock;
|
key = auth_context->keyblock;
|
||||||
|
|
||||||
ret = krb5_crypto_init(context, auth_context->keyblock, 0, &crypto);
|
ret = krb5_crypto_init(context, key, 0, &crypto);
|
||||||
if (ret)
|
if (ret)
|
||||||
goto out;
|
goto out;
|
||||||
ret = krb5_verify_checksum (context,
|
ret = krb5_verify_checksum (context,
|
||||||
|
Reference in New Issue
Block a user