Avoid sscanf() warnings from openbsd in the unit tests
commitd9e2db1efd531b5fb0d47a9c03d19f871145a76d
authorNick Mathewson <nickm@torproject.org>
Tue, 12 Sep 2017 19:57:25 +0000 (12 15:57 -0400)
committerNick Mathewson <nickm@torproject.org>
Tue, 12 Sep 2017 20:01:12 +0000 (12 16:01 -0400)
treeaa5caef0034033a662c43793178298d128a574d7
parentbac160b4e079398d82a6dda13111fc1f3407d837
Avoid sscanf() warnings from openbsd in the unit tests

OpenBSD doesn't like tricks where you use a too-wide sscanf argument
for a too-narrow array, even when you know the input string
statically.  The fix here is just to use bigger buffers.

Fixes 15582; bugfix on a3dafd3f58bb312 in 0.2.6.2-alpha.
changes/bug15582 [new file with mode: 0644]
src/test/test_util.c