mirror of
https://github.com/ansible-collections/community.crypto.git
synced 2026-05-08 06:13:03 +00:00
crypto.math module utils: add some tests, fix quick_is_not_prime() for small primes (#733)
* Fix quick_is_not_prime() for small primes. Add some tests. * Fix return value of convert_int_to_bytes(0, 0) on Python 2. * Add some more test cases. * Simplify the changelog and point out that these errors only happen for cases not happening in regular use.
This commit is contained in:
2
changelogs/fragments/733-math-prime.yml
Normal file
2
changelogs/fragments/733-math-prime.yml
Normal file
@@ -0,0 +1,2 @@
|
||||
bugfixes:
|
||||
- "crypto.math module utils - change return values for ``quick_is_not_prime()`` and ``convert_int_to_bytes(0, 0)`` for special cases that do not appear when using the collection (https://github.com/ansible-collections/community.crypto/pull/733)."
|
||||
Reference in New Issue
Block a user