vici: Allow maximum vici message size configuration via compile option
authorThomas Egerer <thomas.egerer@secunet.com>
Tue, 7 Apr 2020 18:35:57 +0000 (20:35 +0200)
committerTobias Brunner <tobias@strongswan.org>
Tue, 14 Apr 2020 14:55:49 +0000 (16:55 +0200)
Signed-off-by: Thomas Egerer <thomas.egerer@secunet.com>
src/libcharon/plugins/vici/vici_socket.h

index 8727836..e82d43d 100644 (file)
@@ -26,7 +26,9 @@
 /**
  * Maximum size of a single message exchanged.
  */
+#ifndef VICI_MESSAGE_SIZE_MAX
 #define VICI_MESSAGE_SIZE_MAX (512 * 1024)
+#endif
 
 typedef struct vici_socket_t vici_socket_t;