(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:
@@ -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).
|
* (Royal Institute of Technology, Stockholm, Sweden).
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
@@ -2266,7 +2266,8 @@ usage2arcfour (krb5_context context, int *usage)
|
|||||||
*usage = 1;
|
*usage = 1;
|
||||||
return 0;
|
return 0;
|
||||||
case KRB5_KU_TICKET :
|
case KRB5_KU_TICKET :
|
||||||
*usage = 8;
|
*usage = 2;
|
||||||
|
return 0;
|
||||||
case KRB5_KU_AS_REP_ENC_PART :
|
case KRB5_KU_AS_REP_ENC_PART :
|
||||||
*usage = 8;
|
*usage = 8;
|
||||||
return 0;
|
return 0;
|
||||||
@@ -2385,7 +2386,7 @@ static struct encryption_type enctype_arcfour_hmac_md5 = {
|
|||||||
8,
|
8,
|
||||||
&keytype_arcfour,
|
&keytype_arcfour,
|
||||||
&checksum_hmac_md5,
|
&checksum_hmac_md5,
|
||||||
&checksum_hmac_md5_enc,
|
/* &checksum_hmac_md5_enc */ NULL,
|
||||||
F_SPECIAL,
|
F_SPECIAL,
|
||||||
ARCFOUR_encrypt
|
ARCFOUR_encrypt
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user