]> git.ipfire.org Git - thirdparty/strongswan.git/commitdiff
save-keys: Fix Wireshark algorithm identifier for 3DES
authorWataru Ashihara <wataash0607@gmail.com>
Sat, 25 Nov 2023 10:32:20 +0000 (19:32 +0900)
committerTobias Brunner <tobias@strongswan.org>
Mon, 18 Mar 2024 07:54:41 +0000 (08:54 +0100)
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

src/libcharon/plugins/save_keys/save_keys_listener.c

index 9565a74f362339b900de41ec02cdb3eea524f1f5..c115be136cb122541b243bf124deb59cf3efe3d1 100644 (file)
@@ -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]"       },