Use newer version of cryptography under Python >= 3.6.
@@ -10,6 +10,7 @@ requests_mock
# 5.3.2 is latest version which still supports Python 3.5, >= 6.2.5 is needed for Python 3.10
pytest==5.3.2; python_version <= '3.5'
pytest==6.2.5; python_version >= '3.6'
-cryptography==3.2.1
+cryptography==3.2.1; python_version <= '3.5'
+cryptography==35.0.0; python_version >= '3.6'
# NOTE: Only needed by nttcis loadbalancer driver
pyopenssl==19.1.0
