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
This commit is contained in:
@@ -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).
|
* (Royal Institute of Technology, Stockholm, Sweden).
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
@@ -455,7 +455,7 @@ main(int argc, char **argv)
|
|||||||
if (ret)
|
if (ret)
|
||||||
krb5_err(context, 1, ret, "krb5_string_to_enctype");
|
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",
|
errx(1, "keytype is not the expected %d != %d",
|
||||||
(int)enctype, (int)keyblock2->keytype);
|
(int)enctype, (int)keyblock2->keytype);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user