Merge pull request #6639 from fvieira/devel
Add missing sha1 import on known_hosts.py
This commit is contained in:
commit
fba2f1f9a9
1 changed files with 1 additions and 0 deletions
|
@ -27,6 +27,7 @@
|
||||||
# USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
# USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
|
||||||
import hmac
|
import hmac
|
||||||
|
from hashlib import sha1
|
||||||
HASHED_KEY_MAGIC = "|1|"
|
HASHED_KEY_MAGIC = "|1|"
|
||||||
|
|
||||||
def add_git_host_key(module, url, accept_hostkey=True):
|
def add_git_host_key(module, url, accept_hostkey=True):
|
||||||
|
|
Loading…
Reference in a new issue