libreswan/SOURCES/libreswan-4.4-ikev1-disable-diagnostics.patch
2022-01-19 19:12:27 +00:00

21 lines
855 B
Diff

Index: libreswan-4.4/programs/pluto/ikev1.c
===================================================================
--- libreswan-4.4.orig/programs/pluto/ikev1.c
+++ libreswan-4.4/programs/pluto/ikev1.c
@@ -2102,7 +2102,6 @@ void process_packet_tail(struct msg_dige
diag_t d = pbs_in_struct(&md->message_pbs, &isakmp_ignore_desc,
&pd->payload, sizeof(pd->payload), &pd->pbs);
if (d != NULL) {
- llog_diag(RC_LOG, st->st_logger, &d, "%s", "");
LOG_PACKET(RC_LOG_SERIOUS,
"%smalformed payload in packet",
excuse);
@@ -2171,7 +2170,6 @@ void process_packet_tail(struct msg_dige
&pd->payload, sizeof(pd->payload),
&pd->pbs);
if (d != NULL) {
- llog_diag(RC_LOG, st->st_logger, &d, "%s", "");
LOG_PACKET(RC_LOG_SERIOUS,
"%smalformed payload in packet",
excuse);