1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-04-10 15:48:06 -05:00

cryptsuite: stop failing if hardware AES is unavailable.

In the new testSSHCiphers function, I forgot to put in the check for
None that I put in all the other functions that try to explicitly
instantiate hardware-accelerated AES.
This commit is contained in:
Simon Tatham 2019-01-25 20:31:05 +00:00
parent 4509081825
commit de2667f951

View File

@ -1106,6 +1106,8 @@ class crypt(MyTestBase):
for alg, keylen, ivlen, simple_cbc, c in ciphers:
cipher = ssh_cipher_new(alg)
if cipher is None:
continue # hardware-accelerated cipher not available
ssh_cipher_setkey(cipher, k[:keylen])
if ivlen is not None: