[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: test programs
On Wed, Feb 13, 2002 at 08:10:06PM +0100, Daniel Kouril wrote:
> Hello all,
>
> has enyone tryied to run the tcp_* test applications in apps/test in the 0.4e
> distribution? As I have some problems with our application that uses the
> krb5_{mk,rd}_safe functions I wanted first to try the testing examples but
> they don't work either. When the tcp_client tries connecting the tcp_server,
> the server complains with
> "tcp_server: krb5_rd_safe: Decrypt integrity check failed"
> The *_priv functions work well.
The enclosed patch is needed to get rd_safe() work properly.
--
Dan
--- heimdal-0.4e/lib/krb5/rd_safe.c.orig Thu Feb 14 13:17:12 2002
+++ heimdal-0.4e/lib/krb5/rd_safe.c Thu Feb 14 12:56:00 2002
@@ -74,7 +74,7 @@
else
key = auth_context->keyblock;
- ret = krb5_crypto_init(context, auth_context->keyblock, 0, &crypto);
+ ret = krb5_crypto_init(context, key, 0, &crypto);
if (ret)
goto out;
ret = krb5_verify_checksum (context,