Commit 52cc46a2 authored by Bodo Möller's avatar Bodo Möller
Browse files

Detect SSL error code mishandling.

parent a07b4dc0
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -205,6 +205,13 @@ while (($hdr, $lib) = each %libinc)
		}
	}

	if ($lib eq "SSL") {
		if ($rmax{$lib} >= 1000) {
			print STDERR "!! ERROR: SSL error codes 1000+ are reserved for alerts.\n";
			print STDERR "!!        Any new alerts must be added to $config.\n";
			print STDERR "\n";
		}
	}
	close IN;
}