diff options
author | Sebastian Hahn <sebastian@torproject.org> | 2015-02-06 21:53:22 +0100 |
---|---|---|
committer | Sebastian Hahn <sebastian@torproject.org> | 2015-02-06 21:55:59 +0100 |
commit | d695f7b4235bb1a54658e5a5ba2f7ce025ffda92 (patch) | |
tree | aeceabf55e5cd88a59c9e756d8471f66cb045c72 /src/test/test_policy.c | |
parent | e36faeec1d40e1f4f7ae54c798ad4492f86f594c (diff) | |
download | tor-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