mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-04-21 13:05:04 -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:
parent
4509081825
commit
de2667f951
@ -1106,6 +1106,8 @@ class crypt(MyTestBase):
|
|||||||
|
|
||||||
for alg, keylen, ivlen, simple_cbc, c in ciphers:
|
for alg, keylen, ivlen, simple_cbc, c in ciphers:
|
||||||
cipher = ssh_cipher_new(alg)
|
cipher = ssh_cipher_new(alg)
|
||||||
|
if cipher is None:
|
||||||
|
continue # hardware-accelerated cipher not available
|
||||||
|
|
||||||
ssh_cipher_setkey(cipher, k[:keylen])
|
ssh_cipher_setkey(cipher, k[:keylen])
|
||||||
if ivlen is not None:
|
if ivlen is not None:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user