summaryrefslogtreecommitdiff
path: root/src/test/test_pt.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2019-07-23 10:41:57 -0400
committerNick Mathewson <nickm@torproject.org>2019-08-28 09:40:46 -0400
commit3d1f9f583a45143c1259b8926f8c57fa57fc1efb (patch)
tree06d4674b5bb6c95e401c2c35d7f42ca643e787dc /src/test/test_pt.c
parent57e87cc86cce0b9fb351b1862f99c84bfa8100eb (diff)
downloadtor-3d1f9f583a45143c1259b8926f8c57fa57fc1efb.tar.gz
tor-3d1f9f583a45143c1259b8926f8c57fa57fc1efb.zip
Use special magic to enforce manager/object connection.
Every time we finalize a config manager, we now generate a new magic number for it, so that we'll get an assertion failure if we ever try to use an object with a different configuration manager than the one that generated it.
Diffstat (limited to 'src/test/test_pt.c')
0 files changed, 0 insertions, 0 deletions