From 6e107d2f2271bd271dea35d5ce00842c74510b9d Mon Sep 17 00:00:00 2001 From: Toshio Kuratomi Date: Mon, 24 Aug 2015 15:46:54 -0700 Subject: [PATCH] Comments pointing the way towards substituting cryptography for pycrypto --- lib/ansible/executor/process/result.py | 2 ++ lib/ansible/executor/process/worker.py | 2 ++ 2 files changed, 4 insertions(+) diff --git a/lib/ansible/executor/process/result.py b/lib/ansible/executor/process/result.py index c7027412ff7..3ed2a28e805 100644 --- a/lib/ansible/executor/process/result.py +++ b/lib/ansible/executor/process/result.py @@ -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 diff --git a/lib/ansible/executor/process/worker.py b/lib/ansible/executor/process/worker.py index d73434652a6..5fb4d6250b6 100644 --- a/lib/ansible/executor/process/worker.py +++ b/lib/ansible/executor/process/worker.py @@ -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