diff --git a/src/external/zlib-1.2.11/zlib.3.pdf b/src/external/zlib-1.2.11/zlib.3.pdf deleted file mode 100644 index 6fa519c5b..000000000 Binary files a/src/external/zlib-1.2.11/zlib.3.pdf and /dev/null differ diff --git a/src/shared/validate_op.c b/src/shared/validate_op.c index fc8bb6359..225d8e150 100644 --- a/src/shared/validate_op.c +++ b/src/shared/validate_op.c @@ -502,7 +502,9 @@ static const char *__gethour(const char *str, char *ossec_hour) } else if ((*str == 'p') || (*str == 'P')) { str++; if ((*str == 'm') || (*str == 'M')) { - chour += 12; + if(chour != 12) { + chour += 12; + } /* New hour must be valid */ if (chour < 0 || chour >= 24) {