summaryrefslogtreecommitdiff
path: root/asn1/kerberos
diff options
context:
space:
mode:
authorBill Meier <wmeier@newsguy.com>2010-05-11 15:12:13 +0000
committerBill Meier <wmeier@newsguy.com>2010-05-11 15:12:13 +0000
commit7006db1e0151d2c0d9b556fb0c88624ef1ed10d5 (patch)
treeb236074c997caa75ff4f09d76fca3c2e3df21a0c /asn1/kerberos
parent2af17da2c106c15df30c44d0cf4ae48e21a106df (diff)
downloadwireshark-7006db1e0151d2c0d9b556fb0c88624ef1ed10d5.tar.gz
Reflect changes made in SVN #32752
svn path=/trunk/; revision=32753
Diffstat (limited to 'asn1/kerberos')
-rw-r--r--asn1/kerberos/packet-kerberos-template.c12
1 files changed, 8 insertions, 4 deletions
diff --git a/asn1/kerberos/packet-kerberos-template.c b/asn1/kerberos/packet-kerberos-template.c
index a30384b633..d2781df976 100644
--- a/asn1/kerberos/packet-kerberos-template.c
+++ b/asn1/kerberos/packet-kerberos-template.c
@@ -843,11 +843,15 @@ g_warning("woohoo decrypted keytype:%d in frame:%u\n", keytype, pinfo->fd->num);
/* preauthentication types >127 (i.e. negative ones) are app specific.
Hopefully there will be no collisions here or we will have to
come up with something better.
- Note: These values are compared against 32-bit values in the code.
+ XXX: Although KRB5_PA_PAC_REQUEST is " >127 " and thus presumably
+ would be encoded as a negative number, various captures seen all
+ have this pa-data-type encoded as a positive number (0x0080).
+ We'll assume that KRB5_PA_S4U2SELF is also encoded as a positive number.
*/
-#define KRB5_PA_PAC_REQUEST -128 /* = 0xFFFFFF80 = (gint32)((gint8)0x80) MS extension */
-#define KRB5_PA_S4U2SELF -127 /* = 0xFFFFFF81 = (gint32)((gint8)0x81) Impersonation (Microsoft extension) */
-#define KRB5_PA_PROV_SRV_LOCATION -1 /* = 0xFFFFFFFF = (gint32)((gint8)0xFF) packetcable stuff */
+#define KRB5_PA_PAC_REQUEST 128 /* (Microsoft extension) */
+#define KRB5_PA_S4U2SELF 129 /* Impersonation (Microsoft extension) */
+
+#define KRB5_PA_PROV_SRV_LOCATION 0xffffffff /* (gint32)0xFF) packetcable stuff */
/* Principal name-type */
#define KRB5_NT_UNKNOWN 0