(usage2arcfour): map KRB5_KU_TICKET to 2, rom Harald Joerg <harald.joerg@fujitsu-siemens.com>. (enctype_arcfour_hmac_md5): disable checksum_hmac_md5_enc

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11934 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2003-03-28 10:33:54 +00:00
parent e5a4417923
commit 221041ca22

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 1997 - 2002 Kungliga Tekniska H<>gskolan
* Copyright (c) 1997 - 2003 Kungliga Tekniska H<>gskolan
* (Royal Institute of Technology, Stockholm, Sweden).
* All rights reserved.
*
@@ -2266,7 +2266,8 @@ usage2arcfour (krb5_context context, int *usage)
*usage = 1;
return 0;
case KRB5_KU_TICKET :
*usage = 8;
*usage = 2;
return 0;
case KRB5_KU_AS_REP_ENC_PART :
*usage = 8;
return 0;
@@ -2385,7 +2386,7 @@ static struct encryption_type enctype_arcfour_hmac_md5 = {
8,
&keytype_arcfour,
&checksum_hmac_md5,
&checksum_hmac_md5_enc,
/* &checksum_hmac_md5_enc */ NULL,
F_SPECIAL,
ARCFOUR_encrypt
};