]> www.infradead.org Git - users/dwmw2/openconnect.git/commitdiff
Heckle MTU calc
authorDavid Woodhouse <dwmw2@infradead.org>
Tue, 15 Aug 2017 16:38:02 +0000 (17:38 +0100)
committerDavid Woodhouse <dwmw2@infradead.org>
Tue, 27 Feb 2018 15:27:03 +0000 (16:27 +0100)
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
gpst.c

diff --git a/gpst.c b/gpst.c
index 195b660df52575db64a96dc64582d2edd62abf5c..11ba378465878c8c522cf5695eee4e0e20a348ff 100644 (file)
--- a/gpst.c
+++ b/gpst.c
@@ -268,6 +268,8 @@ out:
        return result;
 }
 
+
+/* XXX: Look at set_esp_algo() and tell me again what the biggest supported IV is? */
 #define ESP_OVERHEAD (4 /* SPI */ + 4 /* sequence number */ + \
          20 /* biggest supported MAC (SHA1) */ + 16 /* biggest supported IV (AES-128) */ + \
         1 /* pad length */ + 1 /* next header */ + \