From b5bdefe234f6ea07b57c5bebfc06221298295e88 Mon Sep 17 00:00:00 2001 From: Jack Lloyd Date: Mon, 10 Dec 2018 07:08:05 -0500 Subject: Work around a problem when built with OpenSSL It appears OpenSSL has a different interpretation from us of how the message representative is formed for P-521 when given a hash to sign that is larger than the group order; signatures generated by us do not verify with OpenSSL and vice versa. --- src/scripts/test_cli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/scripts') diff --git a/src/scripts/test_cli.py b/src/scripts/test_cli.py index 99447e6d4..ee7f9ffab 100755 --- a/src/scripts/test_cli.py +++ b/src/scripts/test_cli.py @@ -71,7 +71,7 @@ def test_cli(cmd, cmd_options, expected_output=None, cmd_input=None, expected_st if stderr: if expected_stderr is None: - logging.error("Got output on stderr %s", stderr) + logging.error("Got output on stderr %s (stdout was %s)", stderr, stdout) else: if stderr != expected_stderr: logging.error("Got output on stderr %s which did not match expected value %s", stderr, expected_stderr) -- cgit v1.2.3