Wireshark-bugs: [Wireshark-bugs] [Bug 1709] packet-kerberos.c does not build on solaris with sun

Date: Wed, 25 Jul 2007 20:53:15 +0000 (GMT)
http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1709





------- Comment #1 from jeff.morriss@xxxxxxxxxxx  2007-07-25 20:53 GMT -------
(In reply to comment #0)
>         argument : pointer to struct _asn1_ctx_t {unsigned int signature, enum
> {ASN1_ENC_XER(3), ASN1_ENC_ECN(2), ASN1_ENC_PER(1), ASN1_ENC_BER(0)} encoding,
> i
> nt aligned, pointer to struct _packet_info {..} pinfo, pointer to struct
> _proto_
> node {..} created_item, pointer to void value_ptr, pointer to void
> private_data,
>  struct  {..} external}

Can you give the line number for that (it seems to have been cut off)?

> "packet-kerberos.c", line 4208: warning: no explicit type given
> "packet-kerberos.c", line 4208: syntax error before or at: ERROR_sequence
> "packet-kerberos.c", line 4208: warning: old-style declaration or incorrect
> type
>  for: ERROR_sequence

This makes no sense.  Line 4208 is:

   4207         case KRB5_ET_KRB5KDC_ERR_KEY_EXP:
   4208         case KRB5_ET_KRB5KDC_ERR_POLICY:
   4209                 /* ms windows kdc sends e-data of this type containing
a "salt"
   4210                  * that contains the nt_status code for these error
codes.


> "packet-kerberos.c", line 4209: too many initializers for scalar

Again, this is illogical.  Line 4209 is:

   4209                 /* ms windows kdc sends e-data of this type containing
a "salt"
   4210                  * that contains the nt_status code for these error
codes.
   4211                  */


I guess this file's compilation is also being hosed up by linefeeds in the file
(like bug 1708)?


-- 
Configure bugmail: http://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.