Fix lshift tests
authorMatt Caswell <matt@openssl.org>
Tue, 28 Nov 2017 10:15:15 +0000 (10:15 +0000)
committerMatt Caswell <matt@openssl.org>
Tue, 28 Nov 2017 10:41:23 +0000 (10:41 +0000)
commit83ccead4d0fb496c8f00ee53c28e957b8cab4181
tree8964392b2dc29c3eccc9064e6af0975d8a1511a4
parent7bbb00500a1db556ad900e3b307425c50cd515a8
Fix lshift tests

Commit 30bea14be6 converted bntest.c to the new TEST framework.
Unfortunately a missing "goto err" means that the lshift tests skip
the actual bit that tests them. Replacing the "goto err" reveals that
the conversion also broke the tests. This adds back the missing "goto err"
and fixes the tests.

Fixes #4808

Reviewed-by: Tim Hudson <tjh@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/4809)
test/bntest.c