Skip to content
Commit dab8c7a5 authored by Theo Buehler's avatar Theo Buehler
Browse files

Enable BN_mod_sqrt() for upcoming LibreSSL 3.8.2

This API was inherited from OpenSSL, so it has always been present.
Enable it for the upcoming LibreSSL release.

The test as it was written would fail since LibreSSL returns the other
square root. Improve the test to work with all possible implementations
with a more interesting test case. Also check for error in the simplest
situation where no square root exists.
parent 0917bed2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment