]> git.ipfire.org Git - people/ms/strongswan.git/commit
ikev1: Fix prefix length of vendor ID Cisco Unity
authorVolker RĂ¼melin <vr_strongswan@t-online.de>
Mon, 1 Nov 2021 13:49:16 +0000 (14:49 +0100)
committerTobias Brunner <tobias@strongswan.org>
Wed, 3 Nov 2021 10:00:59 +0000 (11:00 +0100)
commit865a387c6caafb3b19901cd7fe01db29e58db986
tree49464c914a21c259b17088f696cf4fe72433c9df
parent5e1d1cd30fdd50a57a082fef913577a35931e358
ikev1: Fix prefix length of vendor ID Cisco Unity

Before commit 6c49ddfbca ("ike: Add additional Vendor IDs for
third-party implementations") the prefix length of vendor ID
Cisco Unity was hardcoded to 14. Since we need to know the actual
length of this VID to send it, the length can't be overloaded
with a prefix length. Revert part of commit 6c49ddfbca to
fix this problem.

Fixes: 6c49ddfbca72 ("ike: Add additional Vendor IDs for third-party implementations")
src/libcharon/sa/ikev1/tasks/isakmp_vendor.c