ipsec_xvalid: remove TAG_PATTERN search
No pattern was being set in any tags, so the search
for TAG_PATTERN was useless.
#define PT_PATTERN 0x44444444
#define CIPH_KEY_PATTERN 0x33333333
#define AUTH_KEY_PATTERN 0x66666666
-#define TAG_PATTERN 0x77777777
#define STACK_DEPTH 8192
enum arch_type_e {
@@ -577,10 +576,6 @@ search_patterns(const void *ptr, const size_t mem_size)
fprintf(stderr, "Part of AUTH_KEY is present\n");
ret = 0;
}
- if (string == TAG_PATTERN) {
- fprintf(stderr, "Part of TAG is present\n");
- ret = 0;
- }
if (string == PT_PATTERN) {
fprintf(stderr,
"Part of plain/ciphertext is present\n");
