From 8c09b251fd10ae0099ae48ce16d5af6ed1134ad6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Love=20H=C3=B6rnquist=20=C3=85strand?= Date: Thu, 24 Jul 2008 20:04:07 +0000 Subject: [PATCH] Check keyblock instead of keyblock2, doesn't matter which, they will be the same git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23385 ec53bebd-3082-4978-b11e-865c3cabbd6b --- lib/gssapi/test_context.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/gssapi/test_context.c b/lib/gssapi/test_context.c index 82f181803..5a502ae70 100644 --- a/lib/gssapi/test_context.c +++ b/lib/gssapi/test_context.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2006 Kungliga Tekniska Högskolan + * Copyright (c) 2006 - 2008 Kungliga Tekniska Högskolan * (Royal Institute of Technology, Stockholm, Sweden). * All rights reserved. * @@ -455,7 +455,7 @@ main(int argc, char **argv) if (ret) krb5_err(context, 1, ret, "krb5_string_to_enctype"); - if (enctype != keyblock2->keytype) + if (enctype != keyblock->keytype) errx(1, "keytype is not the expected %d != %d", (int)enctype, (int)keyblock2->keytype); }