mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-27 21:00:10 +01:00
crypto_verify_private_key_data() must try to decrypt the key only when
a password is supplied.
Previously the decrypt test always passed because we detected an
unsupported cipher and faked success. Now since version 3.5.4 gnutls
supports PBES1-DES-CBC-MD5 and the key is actually decrypted when a
password is supplied.
Also, don't assert that a wrong password works because we're now able
to actually verify it (only with recent gnutls).
https://bugzilla.gnome.org/show_bug.cgi?id=771623
(cherry picked from commit
|
||
|---|---|---|
| .. | ||
| Makefile.am | ||
| test-crypto.c | ||
| test-general.c | ||
| test-libnm-linking.c | ||
| test-secrets.c | ||
| test-setting-8021x.c | ||
| test-setting-dcb.c | ||
| test-settings-defaults.c | ||