aboutsummaryrefslogtreecommitdiff
path: root/src/test/test_policy.c
diff options
context:
space:
mode:
authorSebastian Hahn <sebastian@torproject.org>2015-02-06 21:53:22 +0100
committerSebastian Hahn <sebastian@torproject.org>2015-02-06 21:55:59 +0100
commitd695f7b4235bb1a54658e5a5ba2f7ce025ffda92 (patch)
treeaeceabf55e5cd88a59c9e756d8471f66cb045c72 /src/test/test_policy.c
parente36faeec1d40e1f4f7ae54c798ad4492f86f594c (diff)
downloadtor-d695f7b4235bb1a54658e5a5ba2f7ce025ffda92.tar.gz
tor-d695f7b4235bb1a54658e5a5ba2f7ce025ffda92.zip
Don't use invalid exit values in zero length key test
Shell exit values must fall into the range of [0-255], so let's honour this. In practice, the "exit -1" from the old code set an exit value of 255 on most systems, so let's pick that. Fixes part of bug #14478, patch idea suggested by an anonymous contributor. Thanks!
Diffstat (limited to 'src/test/test_policy.c')
0 files changed, 0 insertions, 0 deletions