Fix comparison between pyasn1 objects introduced in #1843

__eq__ compares values, so e.g. univ.Integer(0) == eoo.endOfOctets. I
believe this isn't a logic error for what we're doing now, but keep the
code right in case it gets reused. This is the pattern used by pyasn1
internally.
1 file changed