]> git.ipfire.org Git - thirdparty/openvpn.git/commit
mbedtls: don't print unsupported ciphers in insecure cipher list
authorSteffan Karger <steffan.karger@fox-it.com>
Thu, 11 Oct 2018 07:20:00 +0000 (09:20 +0200)
committerGert Doering <gert@greenie.muc.de>
Thu, 11 Oct 2018 07:33:35 +0000 (09:33 +0200)
commit4ada4a7d8b3db7ae9722624d745c220fef4c77fd
treef7101748b56daf2aaff0ff37b55efa1cb7ad8430
parent447997dd83400bffc05db65a91f659dc87b4a367
mbedtls: don't print unsupported ciphers in insecure cipher list

Commit 447997dd refactored the --show-ciphers code, but introduced a bug
in mbedtls builds where non-AEAD/CBC cipher were printed too.  Those are
however unsupported (as openvpn will tell you when you try to use them).

This fixes that bug.

Signed-off-by: Steffan Karger <steffan.karger@fox-it.com>
Acked-by: Gert Doering <gert@greenie.muc.de>
Message-Id: <1539242400-27614-1-git-send-email-steffan.karger@fox-it.com>
URL: https://sourceforge.net/p/openvpn/mailman/message/36438012/
Signed-off-by: Gert Doering <gert@greenie.muc.de>
src/openvpn/crypto_mbedtls.c