aboutsummaryrefslogtreecommitdiffstats
path: root/asn1/crmf
diff options
context:
space:
mode:
authorJeff Morriss <jeff.morriss.ws@gmail.com>2012-08-08 03:02:27 +0000
committerJeff Morriss <jeff.morriss.ws@gmail.com>2012-08-08 03:02:27 +0000
commitd380312c166a168416325b0dc5ffeb7820b1cad7 (patch)
tree54b07398a10fa708f4bbbdb6b9bfa6387e0a8faa /asn1/crmf
parentaa65475748c1070cda090719fb1972620ff11683 (diff)
Move the pi==NULL test into TRY_TO_FAKE_THIS_REPR.
Since the tree will only be NULL here if someone messed up in proto.c and since pi will only be NULL if tree is NULL, assert out if either of them are NULL (don't use DISSECTOR_ASSERT() since such a condition wouldn't be the dissector writer's fault). Use TRY_TO_FAKE_THIS_REPR in ptvcursor_add_text_with_subtree(). We've had TRY_TO_FAKE_THIS_REPR for a long time now, don't wrap it in #if 1. new_field_info() doesn't return NULL so don't check for it returning NULL in ptvcursor_add(). svn path=/trunk/; revision=44322
Diffstat (limited to 'asn1/crmf')
0 files changed, 0 insertions, 0 deletions