(self, x)
| 954 | ) |
| 955 | |
| 956 | def do_dissect(self, x): |
| 957 | # Note: Windows builds this packet with a buggy sequence size, that does not |
| 958 | # include the optional fields. Do another pass of dissection on the optionals. |
| 959 | s = super(LDAP_ExtendedResponse, self).do_dissect(x) |
| 960 | if not s: |
| 961 | return s |
| 962 | for obj in self.ASN1_root.seq[-2:]: # only on the 2 optional fields |
| 963 | try: |
| 964 | s = obj.dissect(self, s) |
| 965 | except ASN1F_badsequence: |
| 966 | break |
| 967 | return s |
| 968 | |
| 969 | |
| 970 | # RFC 4511 sect 4.1.11 |