mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-01 00:03:10 +00:00
Comments pointing the way towards substituting cryptography for pycrypto
This commit is contained in:
@@ -27,6 +27,8 @@ import sys
|
||||
import time
|
||||
import traceback
|
||||
|
||||
# TODO: not needed if we use the cryptography library with its default RNG
|
||||
# engine
|
||||
HAS_ATFORK=True
|
||||
try:
|
||||
from Crypto.Random import atfork
|
||||
|
||||
@@ -27,6 +27,8 @@ import sys
|
||||
import time
|
||||
import traceback
|
||||
|
||||
# TODO: not needed if we use the cryptography library with its default RNG
|
||||
# engine
|
||||
HAS_ATFORK=True
|
||||
try:
|
||||
from Crypto.Random import atfork
|
||||
|
||||
Reference in New Issue
Block a user