From: Wataru Ashihara Date: Sat, 25 Nov 2023 10:32:20 +0000 (+0900) Subject: save-keys: Fix Wireshark algorithm identifier for 3DES X-Git-Tag: 5.9.14~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c3f8642e72aa028f31fe99eddaa05b095176dac3;p=thirdparty%2Fstrongswan.git save-keys: Fix Wireshark algorithm identifier for 3DES Wireshark has shown the following error dialogue because the identifier was incorrect [1]: Error loading table 'ESP SAs': esp_sa:18: invalid value: TripleDes-CBC [RFC2451] [1] https://github.com/wireshark/wireshark/blob/3757f42e5f0a8ee6b14a117a2fd99af759a31d98/epan/dissectors/packet-ipsec.c#L203 Closes strongswan/strongswan#2013 --- diff --git a/src/libcharon/plugins/save_keys/save_keys_listener.c b/src/libcharon/plugins/save_keys/save_keys_listener.c index 9565a74f36..c115be136c 100644 --- a/src/libcharon/plugins/save_keys/save_keys_listener.c +++ b/src/libcharon/plugins/save_keys/save_keys_listener.c @@ -213,7 +213,7 @@ static inline void ike_names(proposal_t *proposal, const char **enc, */ static algo_map_t esp_encr[] = { { ENCR_NULL, -1, "NULL" }, - { ENCR_3DES, -1, "TripleDes-CBC [RFC2451]" }, + { ENCR_3DES, -1, "TripleDES-CBC [RFC2451]" }, { ENCR_AES_CBC, -1, "AES-CBC [RFC3602]" }, { ENCR_AES_CTR, -1, "AES-CTR [RFC3686]" }, { ENCR_DES, -1, "DES-CBC [RFC2405]" },