libsrtp
libsrtp copied to clipboard
char assumed signed in testsuite drivers
http://sourceforge.net/tracker/?func=detail&aid=1911854&group_id=38894&atid=423799
There is a bug in test/rdbx_driver.c and test/srtp_driver.c which makes the testsuite always fail on architectures where char is unsigned by default. This breaks the Debian builds for all such architectures (arm in my case).
The symptom is that test/rdbx_driver and test/srtp_driver always output their usage message and fail because
main (int argc, char *argv[]) { char q;
/* process input arguments */ while (1) { q = getopt_s(argc, argv, "tv"); if (q == -1) break;
That should be "int q;"
Looking at the case history in sourceforce, this was fixed on 5/27/2010. Closing for now.